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; }
protected function getRentObject($model) { $parser = new RentParser(); return $parser->parse($model, new OldMasSAssignment()); }