src/Model/Appointment.php line 5

Open in your IDE?
  1. <?php
  2. namespace App\Model;
  3. class Appointment
  4. {
  5.     private ?Garage $garage null;
  6.     private ?array $services null;
  7.     private ?Vehicle $vehicle null;
  8.     private ?Client $client null;
  9.     private ?Slot $slot null;
  10.     private ?Slot $receptionSlot null;
  11.     private ?Slot $deliverySlot null;
  12.     private bool $paidOnline false;
  13.     private ?array $serviceHeaderInfo = [];
  14.     public function getGarage(): ?Garage
  15.     {
  16.         return $this->garage;
  17.     }
  18.     public function setGarage(?Garage $garage): Appointment
  19.     {
  20.         $this->garage $garage;
  21.         return $this;
  22.     }
  23.     public function getServices(): ?array
  24.     {
  25.         return $this->services;
  26.     }
  27.     public function setServices(?array $services): Appointment
  28.     {
  29.         $this->services $services;
  30.         return $this;
  31.     }
  32.     public function getVehicle(): ?Vehicle
  33.     {
  34.         return $this->vehicle;
  35.     }
  36.     public function setVehicle(?Vehicle $vehicle): Appointment
  37.     {
  38.         $this->vehicle $vehicle;
  39.         return $this;
  40.     }
  41.     public function getClient(): ?Client
  42.     {
  43.         return $this->client;
  44.     }
  45.     public function setClient(?Client $client): Appointment
  46.     {
  47.         $this->client $client;
  48.         return $this;
  49.     }
  50.     public function getSlot(): ?Slot
  51.     {
  52.         return $this->slot;
  53.     }
  54.     public function setSlot(?Slot $slot): Appointment
  55.     {
  56.         $this->slot $slot;
  57.         return $this;
  58.     }
  59.     public function getReceptionSlot(): ?Slot
  60.     {
  61.         return $this->receptionSlot;
  62.     }
  63.     public function setReceptionSlot(?Slot $receptionSlot): Appointment
  64.     {
  65.         $this->receptionSlot $receptionSlot;
  66.         return $this;
  67.     }
  68.     public function getDeliverySlot(): ?Slot
  69.     {
  70.         return $this->deliverySlot;
  71.     }
  72.     public function setDeliverySlot(?Slot $deliverySlot): Appointment
  73.     {
  74.         $this->deliverySlot $deliverySlot;
  75.         return $this;
  76.     }
  77.     public function isPaidOnline(): bool
  78.     {
  79.         return $this->paidOnline;
  80.     }
  81.     public function setPaidOnline(bool $paidOnline): Appointment
  82.     {
  83.         $this->paidOnline $paidOnline;
  84.         return $this;
  85.     }
  86.     /**
  87.      * @return array|null
  88.      */
  89.     public function getServiceHeaderInfo(): ?array
  90.     {
  91.         return $this->serviceHeaderInfo;
  92.     }
  93.     /**
  94.      * @param array|null $serviceHeaderInfo
  95.      * @return Appointment
  96.      */
  97.     public function setServiceHeaderInfo(?array $serviceHeaderInfo): Appointment
  98.     {
  99.         $this->serviceHeaderInfo $serviceHeaderInfo;
  100.         return $this;
  101.     }
  102. }