src/Entity/Main/OperatorBooking.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Main;
  3. use App\Repository\Main\OperatorBookingRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=OperatorBookingRepository::class)
  7.  */
  8. class OperatorBooking
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255, nullable=true)
  18.      */
  19.     private $designation;
  20.     /**
  21.      * @ORM\Column(type="string", length=60)
  22.      */
  23.     private $code_activity;
  24.     /**
  25.      * @ORM\Column(type="datetime")
  26.      */
  27.     private $date;
  28.     /**
  29.      * @ORM\Column(type="time")
  30.      */
  31.     private $creneau;
  32.     /**
  33.      * @ORM\Column(type="integer")
  34.      */
  35.     private $quantity;
  36.     /**
  37.      * @ORM\Column(type="integer", nullable=true)
  38.      */
  39.     private $nbre_parties;
  40.     /**
  41.      * @ORM\Column(type="integer", nullable=true)
  42.      */
  43.     private $id_customer;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $shortname;
  48.     /**
  49.      * @ORM\Column(type="boolean", nullable=true)
  50.      */
  51.     private $deleted;
  52.     /**
  53.      * @ORM\Column(type="boolean", nullable=true)
  54.      */
  55.     private $is_unavailable;
  56.     public function getId(): ?int
  57.     {
  58.         return $this->id;
  59.     }
  60.     public function getDesignation(): ?string
  61.     {
  62.         return $this->designation;
  63.     }
  64.     public function setDesignation(?string $designation): self
  65.     {
  66.         $this->designation $designation;
  67.         return $this;
  68.     }
  69.     public function getCodeActivity(): ?string
  70.     {
  71.         return $this->code_activity;
  72.     }
  73.     public function setCodeActivity(string $code_activity): self
  74.     {
  75.         $this->code_activity $code_activity;
  76.         return $this;
  77.     }
  78.     public function getDate(): ?\DateTimeInterface
  79.     {
  80.         return $this->date;
  81.     }
  82.     public function setDate(\DateTimeInterface $date): self
  83.     {
  84.         $this->date $date;
  85.         return $this;
  86.     }
  87.     public function getCreneau(): ?\DateTimeInterface
  88.     {
  89.         return $this->creneau;
  90.     }
  91.     public function setCreneau(\DateTimeInterface $creneau): self
  92.     {
  93.         $this->creneau $creneau;
  94.         return $this;
  95.     }
  96.     public function getQuantity(): ?int
  97.     {
  98.         return $this->quantity;
  99.     }
  100.     public function setQuantity(int $quantity): self
  101.     {
  102.         $this->quantity $quantity;
  103.         return $this;
  104.     }
  105.     public function getNbreParties(): ?int
  106.     {
  107.         return $this->nbre_parties;
  108.     }
  109.     public function setNbreParties(?int $nbre_parties): self
  110.     {
  111.         $this->nbre_parties $nbre_parties;
  112.         return $this;
  113.     }
  114.     public function getIdCustomer(): ?int
  115.     {
  116.         return $this->id_customer;
  117.     }
  118.     public function setIdCustomer(?int $id_customer): self
  119.     {
  120.         $this->id_customer $id_customer;
  121.         return $this;
  122.     }
  123.     public function getShortname(): ?string
  124.     {
  125.         return $this->shortname;
  126.     }
  127.     public function setShortname(?string $shortname): self
  128.     {
  129.         $this->shortname $shortname;
  130.         return $this;
  131.     }
  132.     public function isDeleted(): ?bool
  133.     {
  134.         return $this->deleted;
  135.     }
  136.     public function setDeleted(?bool $deleted): self
  137.     {
  138.         $this->deleted $deleted;
  139.         return $this;
  140.     }
  141.     public function isIsUnavailable(): ?bool
  142.     {
  143.         return $this->is_unavailable;
  144.     }
  145.     public function setIsUnavailable(?bool $is_unavailable): self
  146.     {
  147.         $this->is_unavailable $is_unavailable;
  148.         return $this;
  149.     }
  150. }