<?phpnamespace App\Core\Entity;use App\Core\Entity\Color;use App\Core\Repository\RecordatorioAgendaRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=RecordatorioAgendaRepository::class) */class RecordatorioAgenda{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $nombre; /** * @ORM\Column(type="date") */ private $fecha; /** * @ORM\Column(type="time", nullable=true) */ private $horaInicio; /** * @ORM\Column(type="time", nullable=true) */ private $horaFin; /** * @ORM\ManyToOne(targetEntity=Color::class) * @ORM\JoinColumn(nullable=false) */ private $color; /** * @ORM\ManyToOne(targetEntity=Agenda::class, inversedBy="recordatoriosAgenda") * @ORM\JoinColumn(nullable=false) */ private $agenda; /** * @ORM\Column(type="integer", nullable=true) */ private $estado; public function getId(): ?int { return $this->id; } public function getNombre(): ?string { return $this->nombre; } public function setNombre(string $nombre): self { $this->nombre = $nombre; return $this; } public function getFecha(): ?\DateTimeInterface { return $this->fecha; } public function setFecha(\DateTimeInterface $fecha): self { $this->fecha = $fecha; return $this; } public function getHoraInicio(): ?\DateTimeInterface { return $this->horaInicio; } public function setHoraInicio(\DateTimeInterface $horaInicio): self { $this->horaInicio = $horaInicio; return $this; } public function getHoraFin(): ?\DateTimeInterface { return $this->horaFin; } public function setHoraFin(?\DateTimeInterface $horaFin): self { $this->horaFin = $horaFin; return $this; } public function getColor(): ?Color { return $this->color; } public function setColor(?Color $color): self { $this->color = $color; return $this; } public function getAgenda(): ?Agenda { return $this->agenda; } public function setAgenda(?Agenda $agenda): self { $this->agenda = $agenda; return $this; } public function getEstado(): ?int { return $this->estado; } public function setEstado(?int $estado): self { $this->estado = $estado; return $this; }}