<?phpnamespace App\Domain\Entity;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Uid\Uuid;class Festivo{ private $fecha = null; private $nombre = null; private $id = null; private ?Calendario $calendario = null; private ?\DateTimeInterface $createdAt = null; private ?\DateTimeInterface $updatedAt = null; private ?\DateTimeInterface $deletedAt = null; public function __toString(): string { return "{$this->getNombre()} {$this->getFecha()->format('d/m/Y')}"??''; } public function getFecha(): ?\DateTimeInterface { return $this->fecha; } public function setFecha(?\DateTimeInterface $fecha): static { $this->fecha = $fecha; return $this; } public function getNombre(): ?string { return $this->nombre; } public function setNombre(?string $nombre): static { $this->nombre = $nombre; return $this; } public function getId(): ?Uuid { return $this->id; } public function getCalendario(): ?Calendario { return $this->calendario; } public function setCalendario(?Calendario $calendario): static { $this->calendario = $calendario; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(\DateTimeInterface $createdAt): static { $this->createdAt = $createdAt; return $this; } public function getUpdatedAt(): ?\DateTimeInterface { return $this->updatedAt; } public function setUpdatedAt(\DateTimeInterface $updatedAt): static { $this->updatedAt = $updatedAt; return $this; } public function getDeletedAt(): ?\DateTimeInterface { return $this->deletedAt; } public function setDeletedAt(?\DateTimeInterface $deletedAt): static { $this->deletedAt = $deletedAt; return $this; }}