src/Entity/PendingLocation.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PendingLocationRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PendingLocationRepository::class)
  7.  */
  8. class PendingLocation
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="pendingLocations")
  18.      */
  19.     private $user;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=Product::class, inversedBy="pendingLocations")
  22.      */
  23.     private $product;
  24.     /**
  25.      * @ORM\Column(type="datetime", nullable=true)
  26.      */
  27.     private $startAt;
  28.     /**
  29.      * @ORM\Column(type="datetime", nullable=true)
  30.      */
  31.     private $endAt;
  32.     /**
  33.      * @ORM\Column(type="datetime", nullable=true)
  34.      */
  35.     private $createdAt;
  36.     /**
  37.      * @ORM\Column(type="datetime", nullable=true)
  38.      */
  39.     private $updatedAt;
  40.     /**
  41.      * @ORM\Column(type="integer", nullable=true)
  42.      */
  43.     private $nbGuests;
  44.     /**
  45.      * @ORM\Column(type="json", nullable=true)
  46.      */
  47.     private $options = [];
  48.     /**
  49.      * @ORM\Column(type="json", nullable=true)
  50.      */
  51.     private $groupOptions = [];
  52.     /**
  53.      * @ORM\Column(type="json", nullable=true)
  54.      */
  55.     private $hebergementGroup = [];
  56.     /**
  57.      * @ORM\Column(type="string", length=255, nullable=true)
  58.      */
  59.     private $color;
  60.     /**
  61.      * @ORM\Column(type="string", length=255, nullable=true)
  62.      */
  63.     private $size;
  64.     /**
  65.      * @ORM\Column(type="integer", nullable=true)
  66.      */
  67.     private $qtAdulte;
  68.     /**
  69.      * @ORM\Column(type="integer", nullable=true)
  70.      */
  71.     private $qtEnfant;
  72.     /**
  73.      * @ORM\Column(type="integer", nullable=true)
  74.      */
  75.     private $qtBebe;
  76.     /**
  77.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  78.      */
  79.     private $totalAmount;
  80.     /**
  81.      * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true)
  82.      */
  83.     private $totalPriceReduced;
  84.     /**
  85.      * @ORM\Column(type="boolean", nullable=true)
  86.      */
  87.     private $isReceived;
  88.     /**
  89.      * @ORM\Column(type="boolean", nullable=true)
  90.      */
  91.     private $paymentStatus;
  92.     /**
  93.      * @ORM\Column(type="text", nullable=true)
  94.      */
  95.     private $raisonRefus;
  96.     /**
  97.      * @ORM\Column(type="boolean", nullable=true)
  98.      */
  99.     private $isModifLocation;
  100.     /**
  101.      * @ORM\Column(type="boolean", nullable=true)
  102.      */
  103.     private $isLannul;
  104.     /**
  105.      * @ORM\Column(type="boolean", nullable=true)
  106.      */
  107.     private $isLdefiniAnnul;
  108.     /**
  109.      * @ORM\Column(type="integer", nullable=true)
  110.      */
  111.     private $payinId;
  112.     /**
  113.      * @ORM\Column(type="string", length=255, nullable=true)
  114.      */
  115.     private $trackingCode;
  116.     /**
  117.      * @ORM\ManyToOne(targetEntity=Company::class, inversedBy="pendingLocations")
  118.      */
  119.     private $company;
  120.     public function getId(): ?int
  121.     {
  122.         return $this->id;
  123.     }
  124.     public function getUser(): ?User
  125.     {
  126.         return $this->user;
  127.     }
  128.     public function setUser(?User $user): self
  129.     {
  130.         $this->user $user;
  131.         return $this;
  132.     }
  133.     public function getProduct(): ?Product
  134.     {
  135.         return $this->product;
  136.     }
  137.     public function setProduct(?Product $product): self
  138.     {
  139.         $this->product $product;
  140.         return $this;
  141.     }
  142.     public function getStartAt(): ?\DateTimeInterface
  143.     {
  144.         return $this->startAt;
  145.     }
  146.     public function setStartAt(?\DateTimeInterface $startAt): self
  147.     {
  148.         $this->startAt $startAt;
  149.         return $this;
  150.     }
  151.     public function getEndAt(): ?\DateTimeInterface
  152.     {
  153.         return $this->endAt;
  154.     }
  155.     public function setEndAt(?\DateTimeInterface $endAt): self
  156.     {
  157.         $this->endAt $endAt;
  158.         return $this;
  159.     }
  160.     public function getCreatedAt(): ?\DateTimeInterface
  161.     {
  162.         return $this->createdAt;
  163.     }
  164.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  165.     {
  166.         $this->createdAt $createdAt;
  167.         return $this;
  168.     }
  169.     public function getUpdatedAt(): ?\DateTimeInterface
  170.     {
  171.         return $this->updatedAt;
  172.     }
  173.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  174.     {
  175.         $this->updatedAt $updatedAt;
  176.         return $this;
  177.     }
  178.     public function getNbGuests(): ?int
  179.     {
  180.         return $this->nbGuests;
  181.     }
  182.     public function setNbGuests(?int $nbGuests): self
  183.     {
  184.         $this->nbGuests $nbGuests;
  185.         return $this;
  186.     }
  187.     public function getOptions(): ?array
  188.     {
  189.         return $this->options;
  190.     }
  191.     public function setOptions(?array $options): self
  192.     {
  193.         $this->options $options;
  194.         return $this;
  195.     }
  196.     public function getGroupOptions(): ?array
  197.     {
  198.         return $this->groupOptions;
  199.     }
  200.     public function setGroupOptions(?array $groupOptions): self
  201.     {
  202.         $this->groupOptions $groupOptions;
  203.         return $this;
  204.     }
  205.     public function getHebergementGroup(): ?array
  206.     {
  207.         return $this->hebergementGroup;
  208.     }
  209.     public function setHebergementGroup(?array $hebergementGroup): self
  210.     {
  211.         $this->hebergementGroup $hebergementGroup;
  212.         return $this;
  213.     }
  214.     public function getColor(): ?string
  215.     {
  216.         return $this->color;
  217.     }
  218.     public function setColor(?string $color): self
  219.     {
  220.         $this->color $color;
  221.         return $this;
  222.     }
  223.     public function getSize(): ?string
  224.     {
  225.         return $this->size;
  226.     }
  227.     public function setSize(?string $size): self
  228.     {
  229.         $this->size $size;
  230.         return $this;
  231.     }
  232.     public function getQtAdulte(): ?int
  233.     {
  234.         return $this->qtAdulte;
  235.     }
  236.     public function setQtAdulte(?int $qtAdulte): self
  237.     {
  238.         $this->qtAdulte $qtAdulte;
  239.         return $this;
  240.     }
  241.     public function getQtEnfant(): ?int
  242.     {
  243.         return $this->qtEnfant;
  244.     }
  245.     public function setQtEnfant(?int $qtEnfant): self
  246.     {
  247.         $this->qtEnfant $qtEnfant;
  248.         return $this;
  249.     }
  250.     public function getQtBebe(): ?int
  251.     {
  252.         return $this->qtBebe;
  253.     }
  254.     public function setQtBebe(?int $qtBebe): self
  255.     {
  256.         $this->qtBebe $qtBebe;
  257.         return $this;
  258.     }
  259.     public function getTotalAmount(): ?string
  260.     {
  261.         return $this->totalAmount;
  262.     }
  263.     public function setTotalAmount(?string $totalAmount): self
  264.     {
  265.         $this->totalAmount $totalAmount;
  266.         return $this;
  267.     }
  268.     public function getTotalPriceReduced(): ?string
  269.     {
  270.         return $this->totalPriceReduced;
  271.     }
  272.     public function setTotalPriceReduced(?string $totalPriceReduced): self
  273.     {
  274.         $this->totalPriceReduced $totalPriceReduced;
  275.         return $this;
  276.     }
  277.     public function getIsReceived(): ?bool
  278.     {
  279.         return $this->isReceived;
  280.     }
  281.     public function setIsReceived(?bool $isReceived): self
  282.     {
  283.         $this->isReceived $isReceived;
  284.         return $this;
  285.     }
  286.     public function getPaymentStatus(): ?bool
  287.     {
  288.         return $this->paymentStatus;
  289.     }
  290.     public function setPaymentStatus(?bool $paymentStatus): self
  291.     {
  292.         $this->paymentStatus $paymentStatus;
  293.         return $this;
  294.     }
  295.     public function getRaisonRefus(): ?string
  296.     {
  297.         return $this->raisonRefus;
  298.     }
  299.     public function setRaisonRefus(?string $raisonRefus): self
  300.     {
  301.         $this->raisonRefus $raisonRefus;
  302.         return $this;
  303.     }
  304.     public function getIsModifLocation(): ?bool
  305.     {
  306.         return $this->isModifLocation;
  307.     }
  308.     public function setIsModifLocation(?bool $isModifLocation): self
  309.     {
  310.         $this->isModifLocation $isModifLocation;
  311.         return $this;
  312.     }
  313.     public function getIsLannul(): ?bool
  314.     {
  315.         return $this->isLannul;
  316.     }
  317.     public function setIsLannul(?bool $isLannul): self
  318.     {
  319.         $this->isLannul $isLannul;
  320.         return $this;
  321.     }
  322.     public function getIsLdefiniAnnul(): ?bool
  323.     {
  324.         return $this->isLdefiniAnnul;
  325.     }
  326.     public function setIsLdefiniAnnul(?bool $isLdefiniAnnul): self
  327.     {
  328.         $this->isLdefiniAnnul $isLdefiniAnnul;
  329.         return $this;
  330.     }
  331.     public function getPayinId(): ?int
  332.     {
  333.         return $this->payinId;
  334.     }
  335.     public function setPayinId(?int $payinId): self
  336.     {
  337.         $this->payinId $payinId;
  338.         return $this;
  339.     }
  340.     public function getTrackingCode(): ?string
  341.     {
  342.         return $this->trackingCode;
  343.     }
  344.     public function setTrackingCode(?string $trackingCode): self
  345.     {
  346.         $this->trackingCode $trackingCode;
  347.         return $this;
  348.     }
  349.     public function getCompany(): ?Company
  350.     {
  351.         return $this->company;
  352.     }
  353.     public function setCompany(?Company $company): self
  354.     {
  355.         $this->company $company;
  356.         return $this;
  357.     }
  358. }