src/Entity/QuoteRequest.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\QuoteRequestRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=QuoteRequestRepository::class)
  7.  */
  8. class QuoteRequest
  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 $status;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=TypeVoyage::class, inversedBy="quoteRequests")
  22.      */
  23.     private $tripVoyage;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $destination;
  28.     /**
  29.      * @ORM\Column(type="date", nullable=true)
  30.      */
  31.     private $startDate;
  32.     /**
  33.      * @ORM\Column(type="integer", nullable=true)
  34.      */
  35.     private $durrationDays;
  36.     /**
  37.      * @ORM\Column(type="datetime_immutable", nullable=true)
  38.      */
  39.     private $createdAt;
  40.     /**
  41.      * @ORM\Column(type="integer", nullable=true)
  42.      */
  43.     private $travAdults;
  44.     /**
  45.      * @ORM\Column(type="integer", nullable=true)
  46.      */
  47.     private $travChildren;
  48.     /**
  49.      * @ORM\Column(type="string", length=255, nullable=true)
  50.      */
  51.     private $childrenAge;
  52.     /**
  53.      * @ORM\Column(type="integer", nullable=true)
  54.      */
  55.     private $budgetForm;
  56.     /**
  57.      * @ORM\Column(type="string", length=255, nullable=true)
  58.      */
  59.     private $boardType;
  60.     /**
  61.      * @ORM\Column(type="string", length=255, nullable=true)
  62.      */
  63.     private $interest;
  64.     /**
  65.      * @ORM\Column(type="text", nullable=true)
  66.      */
  67.     private $message;
  68.     /**
  69.      * @ORM\Column(type="string", length=255, nullable=true)
  70.      */
  71.     private $fullName;
  72.     /**
  73.      * @ORM\Column(type="string", length=255, nullable=true)
  74.      */
  75.     private $email;
  76.     /**
  77.      * @ORM\Column(type="string", length=255, nullable=true)
  78.      */
  79.     private $phone;
  80.     /**
  81.      * @ORM\Column(type="boolean", nullable=true)
  82.      */
  83.     private $newsletter;
  84.     /**
  85.      * @ORM\Column(type="boolean", nullable=true)
  86.      */
  87.     private $rgpd;
  88.     /**
  89.      * @ORM\Column(type="string", length=255, nullable=true)
  90.      */
  91.     private $attachment;
  92.     /**
  93.      * @ORM\Column(type="text", nullable=true)
  94.      */
  95.     private $note;
  96.     public function getId(): ?int
  97.     {
  98.         return $this->id;
  99.     }
  100.     public function getStatus(): ?string
  101.     {
  102.         return $this->status;
  103.     }
  104.     public function setStatus(?string $status): self
  105.     {
  106.         $this->status $status;
  107.         return $this;
  108.     }
  109.     public function getTripVoyage(): ?TypeVoyage
  110.     {
  111.         return $this->tripVoyage;
  112.     }
  113.     public function setTripVoyage(?TypeVoyage $tripVoyage): self
  114.     {
  115.         $this->tripVoyage $tripVoyage;
  116.         return $this;
  117.     }
  118.     public function getDestination(): ?string
  119.     {
  120.         return $this->destination;
  121.     }
  122.     public function setDestination(?string $destination): self
  123.     {
  124.         $this->destination $destination;
  125.         return $this;
  126.     }
  127.     public function getStartDate(): ?\DateTimeInterface
  128.     {
  129.         return $this->startDate;
  130.     }
  131.     public function setStartDate(?\DateTimeInterface $startDate): self
  132.     {
  133.         $this->startDate $startDate;
  134.         return $this;
  135.     }
  136.     public function getDurrationDays(): ?int
  137.     {
  138.         return $this->durrationDays;
  139.     }
  140.     public function setDurrationDays(?int $durrationDays): self
  141.     {
  142.         $this->durrationDays $durrationDays;
  143.         return $this;
  144.     }
  145.     public function getCreatedAt(): ?\DateTimeImmutable
  146.     {
  147.         return $this->createdAt;
  148.     }
  149.     public function setCreatedAt(?\DateTimeImmutable $createdAt): self
  150.     {
  151.         $this->createdAt $createdAt;
  152.         return $this;
  153.     }
  154.     public function getTravAdults(): ?int
  155.     {
  156.         return $this->travAdults;
  157.     }
  158.     public function setTravAdults(?int $travAdults): self
  159.     {
  160.         $this->travAdults $travAdults;
  161.         return $this;
  162.     }
  163.     public function getTravChildren(): ?int
  164.     {
  165.         return $this->travChildren;
  166.     }
  167.     public function setTravChildren(?int $travChildren): self
  168.     {
  169.         $this->travChildren $travChildren;
  170.         return $this;
  171.     }
  172.     public function getChildrenAge(): ?string
  173.     {
  174.         return $this->childrenAge;
  175.     }
  176.     public function setChildrenAge(?string $childrenAge): self
  177.     {
  178.         $this->childrenAge $childrenAge;
  179.         return $this;
  180.     }
  181.     public function getBudgetForm(): ?int
  182.     {
  183.         return $this->budgetForm;
  184.     }
  185.     public function setBudgetForm(?int $budgetForm): self
  186.     {
  187.         $this->budgetForm $budgetForm;
  188.         return $this;
  189.     }
  190.     public function getBoardType(): ?string
  191.     {
  192.         return $this->boardType;
  193.     }
  194.     public function setBoardType(?string $boardType): self
  195.     {
  196.         $this->boardType $boardType;
  197.         return $this;
  198.     }
  199.     public function getInterest(): ?string
  200.     {
  201.         return $this->interest;
  202.     }
  203.     public function setInterest(?string $interest): self
  204.     {
  205.         $this->interest $interest;
  206.         return $this;
  207.     }
  208.     public function getMessage(): ?string
  209.     {
  210.         return $this->message;
  211.     }
  212.     public function setMessage(?string $message): self
  213.     {
  214.         $this->message $message;
  215.         return $this;
  216.     }
  217.     public function getFullName(): ?string
  218.     {
  219.         return $this->fullName;
  220.     }
  221.     public function setFullName(?string $fullName): self
  222.     {
  223.         $this->fullName $fullName;
  224.         return $this;
  225.     }
  226.     public function getEmail(): ?string
  227.     {
  228.         return $this->email;
  229.     }
  230.     public function setEmail(?string $email): self
  231.     {
  232.         $this->email $email;
  233.         return $this;
  234.     }
  235.     public function getPhone(): ?string
  236.     {
  237.         return $this->phone;
  238.     }
  239.     public function setPhone(?string $phone): self
  240.     {
  241.         $this->phone $phone;
  242.         return $this;
  243.     }
  244.     public function isNewsletter(): ?bool
  245.     {
  246.         return $this->newsletter;
  247.     }
  248.     public function setNewsletter(?bool $newsletter): self
  249.     {
  250.         $this->newsletter $newsletter;
  251.         return $this;
  252.     }
  253.     public function isRgpd(): ?bool
  254.     {
  255.         return $this->rgpd;
  256.     }
  257.     public function setRgpd(?bool $rgpd): self
  258.     {
  259.         $this->rgpd $rgpd;
  260.         return $this;
  261.     }
  262.     public function getAttachment(): ?string
  263.     {
  264.         return $this->attachment;
  265.     }
  266.     public function setAttachment(?string $attachment): self
  267.     {
  268.         $this->attachment $attachment;
  269.         return $this;
  270.     }
  271.     public function getNote(): ?string
  272.     {
  273.         return $this->note;
  274.     }
  275.     public function setNote(?string $note): self
  276.     {
  277.         $this->note $note;
  278.         return $this;
  279.     }
  280. }