src/Entity/Events.php
<?phpnamespace App\Entity;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use App\Repository\EventsRepository;use Doctrine\ORM\Mapping as ORM;/*** @ORM\Entity(repositoryClass=EventsRepository::class)*/class Events extends OSEntity{/*** @ORM\Column(type="date", nullable=true)*/private $startDate;/*** @ORM\Column(type="time", nullable=true)*/private $startTime;/*** @ORM\Column(type="date", nullable=true)*/private $endDate;/*** @ORM\Column(type="time", nullable=true)*/private $endTime;/*** @ORM\OneToOne(targetEntity="App\Entity\Albums", cascade={"persist","remove"}, orphanRemoval=true, fetch="EAGER")* @ORM\JoinColumn(nullable=true)*/private $album;/*** @ORM\OneToOne(targetEntity="App\Entity\Biblios", cascade={"persist","remove"}, orphanRemoval=true, fetch="EAGER")* @ORM\JoinColumn(nullable=true)*/private $biblio;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $place;public function getStartDate(): ?\DateTimeInterface{return $this->startDate;}public function setStartDate(?\DateTimeInterface $startDate): self{$this->startDate = $startDate;return $this;}public function getStartTime(): ?\DateTimeInterface{return $this->startTime;}public function setStartTime(?\DateTimeInterface $startTime): self{$this->startTime = $startTime;return $this;}public function getEndDate(): ?\DateTimeInterface{return $this->endDate;}public function setEndDate(?\DateTimeInterface $endDate): self{$this->endDate = $endDate;return $this;}public function getEndTime(): ?\DateTimeInterface{return $this->endTime;}public function setEndTime(?\DateTimeInterface $endTime): self{$this->endTime = $endTime;return $this;}public function getName(): ?string{return $this->getTitle();}public function setName(?string $name): self{return $this->setTitle($name);}public function getDetails(): ?string{return $this->getContent();}public function setDetails(?string $details): self{return $this->setContent();}public function getCreatedAt(): ?\DateTimeInterface{return $this->createdAt;}public function getAlbum(): ?Albums{return $this->album;}public function setAlbum(?Albums $album): self{$this->album = $album;return $this;}public function getBiblio(): ?Biblios{return $this->biblio;}public function setBiblio(?Biblios $biblio): self{$this->biblio = $biblio;return $this;}public function getPlace(): ?string{return $this->place;}public function setPlace(?string $place): self{$this->place = $place;return $this;}}