public function updateImpresionLugar(Impresion $entity, $impresionLugar) { $entity->setImpresionLugar($impresionLugar); return $this->persistenceManager->update($entity); }
public static function toEntity(ImpresionDTO $impresionDTO) { $impresion = new Impresion(); $impresion->setId($impresionDTO->getId()); $impresion->setImpresionFecha($impresionDTO->getImpresionFecha()); $impresion->setImpresionLugar($impresionDTO->getImpresionLugar()); $impresion->setImpresionEstudiante($impresionDTO->getImpresionEstudiante()); return $impresion; }