public function updateImpresionFecha(Impresion $entity, $impresionFecha) { $entity->setImpresionFecha($impresionFecha); 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; }