src/Entity/LigneBlocage.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\LigneBlocageRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=LigneBlocageRepository::class)
  8.  */
  9. class LigneBlocage
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="datetime")
  19.      */
  20.     private $blc_debut;
  21.     /**
  22.      * @ORM\Column(type="datetime")
  23.      */
  24.     private $blc_fin;
  25.     /**
  26.      * @ORM\Column(type="text", nullable=true)
  27.      */
  28.     private $blc_commentaire;
  29.     /**
  30.      * @ORM\Column(type="string", length=50, nullable=true)
  31.      */
  32.     private $blc_auto_planning;
  33.     /**
  34.      * @ORM\ManyToOne(targetEntity=Ligne::class, inversedBy="ligneBlocages")
  35.      * @ORM\JoinColumn(nullable=false)
  36.      */
  37.     private $ligne;
  38.     /**
  39.      * @ORM\ManyToOne(targetEntity=LigneBlocageRecurrence::class, inversedBy="ligneBlocages")
  40.      */
  41.     private $recurrence;
  42.     /**
  43.      * @ORM\Column(type="string", length=20, nullable=true)
  44.      */
  45.     private $blcBgColor;
  46.     public function getId(): ?int
  47.     {
  48.         return $this->id;
  49.     }
  50.     public function getBlcDebut(): ?\DateTimeInterface
  51.     {
  52.         return $this->blc_debut;
  53.     }
  54.     public function setBlcDebut(\DateTimeInterface $blc_debut): self
  55.     {
  56.         $this->blc_debut $blc_debut;
  57.         return $this;
  58.     }
  59.     public function getBlcFin(): ?\DateTimeInterface
  60.     {
  61.         return $this->blc_fin;
  62.     }
  63.     public function setBlcFin(\DateTimeInterface $blc_fin): self
  64.     {
  65.         $this->blc_fin $blc_fin;
  66.         return $this;
  67.     }
  68.     public function getBlcCommentaire(): ?string
  69.     {
  70.         return $this->blc_commentaire;
  71.     }
  72.     public function setBlcCommentaire(?string $blc_commentaire): self
  73.     {
  74.         $this->blc_commentaire $blc_commentaire;
  75.         return $this;
  76.     }
  77.     public function getBlcAutoPlanning(): ?string
  78.     {
  79.         return $this->blc_auto_planning;
  80.     }
  81.     public function setBlcAutoPlanning(?string $blc_auto_planning): self
  82.     {
  83.         $this->blc_auto_planning $blc_auto_planning;
  84.         return $this;
  85.     }
  86.     public function getLigne(): ?Ligne
  87.     {
  88.         return $this->ligne;
  89.     }
  90.     public function setLigne(?Ligne $blc_ligne): self
  91.     {
  92.         $this->ligne $blc_ligne;
  93.         return $this;
  94.     }
  95.     public function getRecurrence(): ?LigneBlocageRecurrence
  96.     {
  97.         return $this->recurrence;
  98.     }
  99.     public function setRecurrence(?LigneBlocageRecurrence $blc_recurrence): self
  100.     {
  101.         $this->recurrence $blc_recurrence;
  102.         return $this;
  103.     }
  104.     public function getBlcBgColor(): ?string
  105.     {
  106.         return $this->blcBgColor;
  107.     }
  108.     public function setBlcBgColor(?string $blcBgColor): self
  109.     {
  110.         $this->blcBgColor $blcBgColor;
  111.         return $this;
  112.     }
  113. }