Esempio n. 1
0
 public function parse($model, MassAssignmentable $massAssignmentable, $object = null)
 {
     $season = new \Microsistec\DbParser\Definition\Disponibility\Season();
     $season = parent::parse($model, $massAssignmentable, $season);
     // TODO: Change the autogenerated stub
     $season->highSeason = $model->valor_locacao_alta_temporada;
     $season->lowSeason = $model->valor_locacao_baixa_temporada;
     return $season;
 }
Esempio n. 2
0
 protected function getRentObject($model)
 {
     $parser = new RentParser();
     return $parser->parse($model, new OldMasSAssignment());
 }