building_id = (int)$data['buildingid']; $model->program_id = (string)$data['programid']; return $model; } }