<?php
namespace App\Entity;
use App\Repository\PipelineGmbDateRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PipelineGmbDateRepository::class)]
class PipelineGmbDate
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: PipelineGmb::class, inversedBy: 'pipelineGmbDates')]
private $pipelineGmb;
#[ORM\Column(type: 'datetime')]
private $date;
#[ORM\Column(type: 'string', length: 255)]
private $time;
#[ORM\Column(type: 'boolean', nullable: true)]
private $choose;
public function getId(): ?int
{
return $this->id;
}
public function getPipelineGmb(): ?PipelineGmb
{
return $this->pipelineGmb;
}
public function setPipelineGmb(?PipelineGmb $pipelineGmb): self
{
$this->pipelineGmb = $pipelineGmb;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getTime(): ?string
{
return $this->time;
}
public function setTime(string $time): self
{
$this->time = $time;
return $this;
}
public function isChoose(): ?bool
{
return $this->choose;
}
public function setChoose(?bool $choose): self
{
$this->choose = $choose;
return $this;
}
}