<?php
namespace App\Model;
class Appointment
{
private ?Garage $garage = null;
private ?array $services = null;
private ?Vehicle $vehicle = null;
private ?Client $client = null;
private ?Slot $slot = null;
private ?Slot $receptionSlot = null;
private ?Slot $deliverySlot = null;
private bool $paidOnline = false;
private ?array $serviceHeaderInfo = [];
public function getGarage(): ?Garage
{
return $this->garage;
}
public function setGarage(?Garage $garage): Appointment
{
$this->garage = $garage;
return $this;
}
public function getServices(): ?array
{
return $this->services;
}
public function setServices(?array $services): Appointment
{
$this->services = $services;
return $this;
}
public function getVehicle(): ?Vehicle
{
return $this->vehicle;
}
public function setVehicle(?Vehicle $vehicle): Appointment
{
$this->vehicle = $vehicle;
return $this;
}
public function getClient(): ?Client
{
return $this->client;
}
public function setClient(?Client $client): Appointment
{
$this->client = $client;
return $this;
}
public function getSlot(): ?Slot
{
return $this->slot;
}
public function setSlot(?Slot $slot): Appointment
{
$this->slot = $slot;
return $this;
}
public function getReceptionSlot(): ?Slot
{
return $this->receptionSlot;
}
public function setReceptionSlot(?Slot $receptionSlot): Appointment
{
$this->receptionSlot = $receptionSlot;
return $this;
}
public function getDeliverySlot(): ?Slot
{
return $this->deliverySlot;
}
public function setDeliverySlot(?Slot $deliverySlot): Appointment
{
$this->deliverySlot = $deliverySlot;
return $this;
}
public function isPaidOnline(): bool
{
return $this->paidOnline;
}
public function setPaidOnline(bool $paidOnline): Appointment
{
$this->paidOnline = $paidOnline;
return $this;
}
/**
* @return array|null
*/
public function getServiceHeaderInfo(): ?array
{
return $this->serviceHeaderInfo;
}
/**
* @param array|null $serviceHeaderInfo
* @return Appointment
*/
public function setServiceHeaderInfo(?array $serviceHeaderInfo): Appointment
{
$this->serviceHeaderInfo = $serviceHeaderInfo;
return $this;
}
}