<?phpnamespace App\Entity;use App\Repository\LigneHoraireRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=LigneHoraireRepository::class) */class LigneHoraire{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Ligne::class, inversedBy="ligneHoraires") * @ORM\JoinColumn(nullable=false) */ private $ligne; /** * @ORM\Column(type="time") */ private $lgn_hor_debut; /** * @ORM\Column(type="time") */ private $lgn_hor_fin; /** * @ORM\Column(type="boolean") */ private $lgn_hor_ouvert; /** * @ORM\Column(type="integer") */ private $lgn_hor_liste_jours; public function getId(): ?int { return $this->id; } public function getLigne(): ?Ligne { return $this->ligne; } public function setLigne(?Ligne $ligne): self { $this->ligne = $ligne; return $this; } public function getLgnHorDebut(): ?\DateTimeInterface { return $this->lgn_hor_debut; } public function setLgnHorDebut(\DateTimeInterface $lgn_hor_debut): self { $this->lgn_hor_debut = $lgn_hor_debut; return $this; } public function getLgnHorFin(): ?\DateTimeInterface { return $this->lgn_hor_fin; } public function setLgnHorFin(\DateTimeInterface $lgn_hor_fin): self { $this->lgn_hor_fin = $lgn_hor_fin; return $this; } public function isLgnHorOuvert(): ?bool { return $this->lgn_hor_ouvert; } public function setLgnHorOuvert(bool $lgn_hor_ouvert): self { $this->lgn_hor_ouvert = $lgn_hor_ouvert; return $this; } public function getLgnHorListeJours(): ?int { return $this->lgn_hor_liste_jours; } public function setLgnHorListeJours(int $lgn_hor_liste_jours): self { $this->lgn_hor_liste_jours = $lgn_hor_liste_jours; return $this; }}