<?php
namespace App\Entity;
use App\Repository\IctusHoraireRepository;
use DateTime;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=IctusHoraireRepository::class)
*/
class IctusHoraire
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $jour;
/**
* @ORM\Column(type="time", nullable=true)
*/
private $debut;
/**
* @ORM\Column(type="time", nullable=true)
*/
private $fin;
/**
* @ORM\ManyToOne(targetEntity=IctusPharmacie::class, inversedBy="ictusHoraires")
*/
private $ictus_pharmacie;
public function getId(): ?int
{
return $this->id;
}
public function getJour(): ?int
{
return $this->jour;
}
public function setJour(int $jour): self
{
$this->jour = $jour;
return $this;
}
public function getDebut(): ?\DateTimeInterface
{
return $this->debut;
}
public function setDebut(?\DateTimeInterface $debut): self
{
$this->debut = $debut;
return $this;
}
public function getFin(): ?\DateTimeInterface
{
return $this->fin;
}
public function setFin(?\DateTimeInterface $fin): self
{
$this->fin = $fin;
return $this;
}
public function getIctusPharmacie(): ?IctusPharmacie
{
return $this->ictus_pharmacie;
}
public function setIctusPharmacie(?IctusPharmacie $ictus_pharmacie): self
{
$this->ictus_pharmacie = $ictus_pharmacie;
return $this;
}
}