<?phpnamespace App\Entity;use App\Repository\CentreHoraireRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=CentreHoraireRepository::class) */class CentreHoraire{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="time") */ private $ctr_hor_debut; /** * @ORM\Column(type="time") */ private $ctr_hor_fin; /** * @ORM\Column(type="boolean") */ private $ctr_hor_ouvert; /** * @ORM\Column(type="boolean") */ private $ctr_hor_jour_continue; /** * @ORM\Column(type="integer") */ private $ctr_hor_jours_semaine; /** * @ORM\ManyToOne(targetEntity=Centre::class, inversedBy="centreHoraires") * @ORM\JoinColumn(nullable=false) */ private $centre; public function getId(): ?int { return $this->id; } public function getCtrHorDebut(): ?\DateTimeInterface { return $this->ctr_hor_debut; } public function setCtrHorDebut(\DateTimeInterface $ctr_hor_debut): self { $this->ctr_hor_debut = $ctr_hor_debut; return $this; } public function getCtrHorFin(): ?\DateTimeInterface { return $this->ctr_hor_fin; } public function setCtrHorFin(\DateTimeInterface $ctr_hor_fin): self { $this->ctr_hor_fin = $ctr_hor_fin; return $this; } public function isCtrHorOuvert(): ?bool { return $this->ctr_hor_ouvert; } public function setCtrHorOuvert(bool $ctr_hor_ouvert): self { $this->ctr_hor_ouvert = $ctr_hor_ouvert; return $this; } public function isCtrHorJourContinue(): ?bool { return $this->ctr_hor_jour_continue; } public function setCtrHorJourContinue(bool $ctr_hor_jour_continue): self { $this->ctr_hor_jour_continue = $ctr_hor_jour_continue; return $this; } public function getCtrHorJoursSemaine(): ?int { return $this->ctr_hor_jours_semaine; } public function setCtrHorJoursSemaine(int $ctr_hor_jours_semaine): self { $this->ctr_hor_jours_semaine = $ctr_hor_jours_semaine; return $this; } public function getCentre(): ?Centre { return $this->centre; } public function setCentre(?Centre $centre): self { $this->centre = $centre; return $this; }}