<?php
namespace App\Entity;
use App\Repository\PendingLocationRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PendingLocationRepository::class)
*/
class PendingLocation
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=User::class, inversedBy="pendingLocations")
*/
private $user;
/**
* @ORM\ManyToOne(targetEntity=Product::class, inversedBy="pendingLocations")
*/
private $product;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $startAt;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $endAt;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $createdAt;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $updatedAt;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $nbGuests;
/**
* @ORM\Column(type="json", nullable=true)
*/
private $options = [];
/**
* @ORM\Column(type="json", nullable=true)
*/
private $groupOptions = [];
/**
* @ORM\Column(type="json", nullable=true)
*/
private $hebergementGroup = [];
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $color;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $size;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $qtAdulte;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $qtEnfant;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $qtBebe;
/**
* @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
*/
private $totalAmount;
/**
* @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
*/
private $totalPriceReduced;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isReceived;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $paymentStatus;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $raisonRefus;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isModifLocation;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isLannul;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $isLdefiniAnnul;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $payinId;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $trackingCode;
/**
* @ORM\ManyToOne(targetEntity=Company::class, inversedBy="pendingLocations")
*/
private $company;
public function getId(): ?int
{
return $this->id;
}
public function getUser(): ?User
{
return $this->user;
}
public function setUser(?User $user): self
{
$this->user = $user;
return $this;
}
public function getProduct(): ?Product
{
return $this->product;
}
public function setProduct(?Product $product): self
{
$this->product = $product;
return $this;
}
public function getStartAt(): ?\DateTimeInterface
{
return $this->startAt;
}
public function setStartAt(?\DateTimeInterface $startAt): self
{
$this->startAt = $startAt;
return $this;
}
public function getEndAt(): ?\DateTimeInterface
{
return $this->endAt;
}
public function setEndAt(?\DateTimeInterface $endAt): self
{
$this->endAt = $endAt;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
public function setCreatedAt(?\DateTimeInterface $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
public function getNbGuests(): ?int
{
return $this->nbGuests;
}
public function setNbGuests(?int $nbGuests): self
{
$this->nbGuests = $nbGuests;
return $this;
}
public function getOptions(): ?array
{
return $this->options;
}
public function setOptions(?array $options): self
{
$this->options = $options;
return $this;
}
public function getGroupOptions(): ?array
{
return $this->groupOptions;
}
public function setGroupOptions(?array $groupOptions): self
{
$this->groupOptions = $groupOptions;
return $this;
}
public function getHebergementGroup(): ?array
{
return $this->hebergementGroup;
}
public function setHebergementGroup(?array $hebergementGroup): self
{
$this->hebergementGroup = $hebergementGroup;
return $this;
}
public function getColor(): ?string
{
return $this->color;
}
public function setColor(?string $color): self
{
$this->color = $color;
return $this;
}
public function getSize(): ?string
{
return $this->size;
}
public function setSize(?string $size): self
{
$this->size = $size;
return $this;
}
public function getQtAdulte(): ?int
{
return $this->qtAdulte;
}
public function setQtAdulte(?int $qtAdulte): self
{
$this->qtAdulte = $qtAdulte;
return $this;
}
public function getQtEnfant(): ?int
{
return $this->qtEnfant;
}
public function setQtEnfant(?int $qtEnfant): self
{
$this->qtEnfant = $qtEnfant;
return $this;
}
public function getQtBebe(): ?int
{
return $this->qtBebe;
}
public function setQtBebe(?int $qtBebe): self
{
$this->qtBebe = $qtBebe;
return $this;
}
public function getTotalAmount(): ?string
{
return $this->totalAmount;
}
public function setTotalAmount(?string $totalAmount): self
{
$this->totalAmount = $totalAmount;
return $this;
}
public function getTotalPriceReduced(): ?string
{
return $this->totalPriceReduced;
}
public function setTotalPriceReduced(?string $totalPriceReduced): self
{
$this->totalPriceReduced = $totalPriceReduced;
return $this;
}
public function getIsReceived(): ?bool
{
return $this->isReceived;
}
public function setIsReceived(?bool $isReceived): self
{
$this->isReceived = $isReceived;
return $this;
}
public function getPaymentStatus(): ?bool
{
return $this->paymentStatus;
}
public function setPaymentStatus(?bool $paymentStatus): self
{
$this->paymentStatus = $paymentStatus;
return $this;
}
public function getRaisonRefus(): ?string
{
return $this->raisonRefus;
}
public function setRaisonRefus(?string $raisonRefus): self
{
$this->raisonRefus = $raisonRefus;
return $this;
}
public function getIsModifLocation(): ?bool
{
return $this->isModifLocation;
}
public function setIsModifLocation(?bool $isModifLocation): self
{
$this->isModifLocation = $isModifLocation;
return $this;
}
public function getIsLannul(): ?bool
{
return $this->isLannul;
}
public function setIsLannul(?bool $isLannul): self
{
$this->isLannul = $isLannul;
return $this;
}
public function getIsLdefiniAnnul(): ?bool
{
return $this->isLdefiniAnnul;
}
public function setIsLdefiniAnnul(?bool $isLdefiniAnnul): self
{
$this->isLdefiniAnnul = $isLdefiniAnnul;
return $this;
}
public function getPayinId(): ?int
{
return $this->payinId;
}
public function setPayinId(?int $payinId): self
{
$this->payinId = $payinId;
return $this;
}
public function getTrackingCode(): ?string
{
return $this->trackingCode;
}
public function setTrackingCode(?string $trackingCode): self
{
$this->trackingCode = $trackingCode;
return $this;
}
public function getCompany(): ?Company
{
return $this->company;
}
public function setCompany(?Company $company): self
{
$this->company = $company;
return $this;
}
}