src/Entity/PipelineGmbDate.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PipelineGmbDateRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassPipelineGmbDateRepository::class)]
  6. class PipelineGmbDate
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\ManyToOne(targetEntityPipelineGmb::class, inversedBy'pipelineGmbDates')]
  13.     private $pipelineGmb;
  14.     #[ORM\Column(type'datetime')]
  15.     private $date;
  16.     #[ORM\Column(type'string'length255)]
  17.     private $time;
  18.     #[ORM\Column(type'boolean'nullabletrue)]
  19.     private $choose;
  20.     public function getId(): ?int
  21.     {
  22.         return $this->id;
  23.     }
  24.     public function getPipelineGmb(): ?PipelineGmb
  25.     {
  26.         return $this->pipelineGmb;
  27.     }
  28.     public function setPipelineGmb(?PipelineGmb $pipelineGmb): self
  29.     {
  30.         $this->pipelineGmb $pipelineGmb;
  31.         return $this;
  32.     }
  33.     public function getDate(): ?\DateTimeInterface
  34.     {
  35.         return $this->date;
  36.     }
  37.     public function setDate(\DateTimeInterface $date): self
  38.     {
  39.         $this->date $date;
  40.         return $this;
  41.     }
  42.     public function getTime(): ?string
  43.     {
  44.         return $this->time;
  45.     }
  46.     public function setTime(string $time): self
  47.     {
  48.         $this->time $time;
  49.         return $this;
  50.     }
  51.     public function isChoose(): ?bool
  52.     {
  53.         return $this->choose;
  54.     }
  55.     public function setChoose(?bool $choose): self
  56.     {
  57.         $this->choose $choose;
  58.         return $this;
  59.     }
  60.     
  61. }