src/Entity/IctusHoraire.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\IctusHoraireRepository;
  4. use DateTime;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=IctusHoraireRepository::class)
  8.  */
  9. class IctusHoraire
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="integer")
  19.      */
  20.     private $jour;
  21.     /**
  22.      * @ORM\Column(type="time", nullable=true)
  23.      */
  24.     private $debut;
  25.     /**
  26.      * @ORM\Column(type="time", nullable=true)
  27.      */
  28.     private $fin;
  29.     /**
  30.      * @ORM\ManyToOne(targetEntity=IctusPharmacie::class, inversedBy="ictusHoraires")
  31.      */
  32.     private $ictus_pharmacie;
  33.     public function getId(): ?int
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getJour(): ?int
  38.     {
  39.         return $this->jour;
  40.     }
  41.     public function setJour(int $jour): self
  42.     {
  43.         $this->jour $jour;
  44.         return $this;
  45.     }
  46.     public function getDebut(): ?\DateTimeInterface
  47.     {
  48.         return $this->debut;
  49.     }
  50.     public function setDebut(?\DateTimeInterface $debut): self
  51.     {
  52.         $this->debut $debut;
  53.         return $this;
  54.     }
  55.     public function getFin(): ?\DateTimeInterface
  56.     {
  57.         return $this->fin;
  58.     }
  59.     public function setFin(?\DateTimeInterface $fin): self
  60.     {
  61.         $this->fin $fin;
  62.         return $this;
  63.     }
  64.     public function getIctusPharmacie(): ?IctusPharmacie
  65.     {
  66.         return $this->ictus_pharmacie;
  67.     }
  68.     public function setIctusPharmacie(?IctusPharmacie $ictus_pharmacie): self
  69.     {
  70.         $this->ictus_pharmacie $ictus_pharmacie;
  71.         return $this;
  72.     }
  73. }