<?phpnamespace App\Entity;use App\Repository\LigneBlocageRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=LigneBlocageRepository::class) */class LigneBlocage{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="datetime") */ private $blc_debut; /** * @ORM\Column(type="datetime") */ private $blc_fin; /** * @ORM\Column(type="text", nullable=true) */ private $blc_commentaire; /** * @ORM\Column(type="string", length=50, nullable=true) */ private $blc_auto_planning; /** * @ORM\ManyToOne(targetEntity=Ligne::class, inversedBy="ligneBlocages") * @ORM\JoinColumn(nullable=false) */ private $ligne; /** * @ORM\ManyToOne(targetEntity=LigneBlocageRecurrence::class, inversedBy="ligneBlocages") */ private $recurrence; /** * @ORM\Column(type="string", length=20, nullable=true) */ private $blcBgColor; public function getId(): ?int { return $this->id; } public function getBlcDebut(): ?\DateTimeInterface { return $this->blc_debut; } public function setBlcDebut(\DateTimeInterface $blc_debut): self { $this->blc_debut = $blc_debut; return $this; } public function getBlcFin(): ?\DateTimeInterface { return $this->blc_fin; } public function setBlcFin(\DateTimeInterface $blc_fin): self { $this->blc_fin = $blc_fin; return $this; } public function getBlcCommentaire(): ?string { return $this->blc_commentaire; } public function setBlcCommentaire(?string $blc_commentaire): self { $this->blc_commentaire = $blc_commentaire; return $this; } public function getBlcAutoPlanning(): ?string { return $this->blc_auto_planning; } public function setBlcAutoPlanning(?string $blc_auto_planning): self { $this->blc_auto_planning = $blc_auto_planning; return $this; } public function getLigne(): ?Ligne { return $this->ligne; } public function setLigne(?Ligne $blc_ligne): self { $this->ligne = $blc_ligne; return $this; } public function getRecurrence(): ?LigneBlocageRecurrence { return $this->recurrence; } public function setRecurrence(?LigneBlocageRecurrence $blc_recurrence): self { $this->recurrence = $blc_recurrence; return $this; } public function getBlcBgColor(): ?string { return $this->blcBgColor; } public function setBlcBgColor(?string $blcBgColor): self { $this->blcBgColor = $blcBgColor; return $this; }}