src/Entity/VRQuote.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity;
  4. use DateTime;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Gedmo\Mapping\Annotation as Gedmo;
  7. /**
  8.  * @ORM\Entity()
  9.  */
  10. class VRQuote
  11. {
  12.     /**
  13.      * @ORM\Column(name="id", type="integer")
  14.      * @ORM\Id
  15.      * @ORM\GeneratedValue(strategy="AUTO")
  16.      */
  17.     private ?int $id null;
  18.     /**
  19.      * @ORM\Column(type="string", nullable=false)
  20.      */
  21.     private ?string $name null;
  22.     /**
  23.      * @ORM\Column(type="string", nullable=false)
  24.      */
  25.     private ?string $lastname null;
  26.     /**
  27.      * @var string
  28.      * @ORM\Column(type="string", nullable=true)
  29.      */
  30.     private ?string $city null;
  31.     /**
  32.      * @ORM\Column(type="string", nullable=true)
  33.      */
  34.     private ?string $companyname null;
  35.     /**
  36.      * @ORM\Column(type="string", nullable=false)
  37.      */
  38.     private ?string $telephone null;
  39.     /**
  40.      * @ORM\Column(type="string", nullable=false)
  41.      */
  42.     private ?string $email null;
  43.     /**
  44.      * @ORM\Column(type="string", nullable=false)
  45.      */
  46.     private ?string $matchChoice null;
  47.     /**
  48.      * @ORM\Column(type="datetime", nullable=true)
  49.      */
  50.     private ?\DateTimeInterface $dateFrom null;
  51.     /**
  52.      * @ORM\Column(type="datetime", nullable=true)
  53.      */
  54.     private ?\DateTimeInterface $dateUntil null;
  55.     /**
  56.      * @ORM\Column(type="integer", nullable=false)
  57.      */
  58.     private ?int $numberOfPersons null;
  59.     /**
  60.      * @ORM\Column(type="string", nullable=false)
  61.      */
  62.     private ?string $transportation null;
  63.     /**
  64.      * @ORM\Column(type="string", nullable=true)
  65.      */
  66.     private ?string $budget null;
  67.     /**
  68.      * @ORM\Column(type="integer", nullable=true)
  69.      */
  70.     private ?int $typeHotel null;
  71.     /**
  72.      * @ORM\Column(type="text", nullable=true)
  73.      */
  74.     private ?string $remarks null;
  75.     /**
  76.      * @Gedmo\Timestampable(on="create")
  77.      * @ORM\Column(type="datetime", nullable=true)
  78.      */
  79.     private ?\DateTimeInterface $createdAt null;
  80.     public function getCreatedAt(): ?\DateTimeInterface
  81.     {
  82.         return $this->createdAt;
  83.     }
  84.     public function getId(): ?int
  85.     {
  86.         return $this->id;
  87.     }
  88.     public function setId(int $id): self
  89.     {
  90.         $this->id $id;
  91.         return $this;
  92.     }
  93.     public function getName(): ?string
  94.     {
  95.         return $this->name;
  96.     }
  97.     public function setName(string $name): self
  98.     {
  99.         $this->name $name;
  100.         return $this;
  101.     }
  102.     public function getTelephone(): ?string
  103.     {
  104.         return $this->telephone;
  105.     }
  106.     public function setTelephone(string $telephone): self
  107.     {
  108.         $this->telephone $telephone;
  109.         return $this;
  110.     }
  111.     public function getEmail(): ?string
  112.     {
  113.         return $this->email;
  114.     }
  115.     public function setEmail(string $email): self
  116.     {
  117.         $this->email $email;
  118.         return $this;
  119.     }
  120.     public function getMatchChoice(): ?string
  121.     {
  122.         return $this->matchChoice;
  123.     }
  124.     public function setMatchChoice(string $matchChoice): self
  125.     {
  126.         $this->matchChoice $matchChoice;
  127.         return $this;
  128.     }
  129.     public function getDateFrom(): ?\DateTimeInterface
  130.     {
  131.         return $this->dateFrom;
  132.     }
  133.     public function setDateFrom(?\DateTimeInterface $dateFrom): self
  134.     {
  135.         $this->dateFrom $dateFrom;
  136.         return $this;
  137.     }
  138.     public function getDateUntil(): ?\DateTimeInterface
  139.     {
  140.         return $this->dateUntil;
  141.     }
  142.     public function setDateUntil(?\DateTimeInterface $dateUntil): self
  143.     {
  144.         $this->dateUntil $dateUntil;
  145.         return $this;
  146.     }
  147.     public function getNumberOfPersons(): ?int
  148.     {
  149.         return $this->numberOfPersons;
  150.     }
  151.     public function setNumberOfPersons(int $numberOfPersons): self
  152.     {
  153.         $this->numberOfPersons $numberOfPersons;
  154.         return $this;
  155.     }
  156.     public function getTypeHotel(): ?int
  157.     {
  158.         return $this->typeHotel;
  159.     }
  160.     public function setTypeHotel(?int $typeHotel): self
  161.     {
  162.         $this->typeHotel $typeHotel;
  163.         return $this;
  164.     }
  165.     public function getRemarks(): ?string
  166.     {
  167.         return $this->remarks;
  168.     }
  169.     public function setRemarks(?string $remarks): self
  170.     {
  171.         $this->remarks $remarks;
  172.         return $this;
  173.     }
  174.     public function getCompanyname(): ?string
  175.     {
  176.         return $this->companyname;
  177.     }
  178.     public function setCompanyname(?string $companyname): void
  179.     {
  180.         $this->companyname $companyname;
  181.     }
  182.     /**
  183.      * @return string
  184.      */
  185.     public function getLastname(): ?string
  186.     {
  187.         return $this->lastname;
  188.     }
  189.     public function setLastname(string $lastname): void
  190.     {
  191.         $this->lastname $lastname;
  192.     }
  193.     /**
  194.      * @return string
  195.      */
  196.     public function getCity(): ?string
  197.     {
  198.         return $this->city;
  199.     }
  200.     public function setCity(string $city): void
  201.     {
  202.         $this->city $city;
  203.     }
  204.     public function getTransportation(): ?string
  205.     {
  206.         return $this->transportation;
  207.     }
  208.     public function setTransportation(?string $transportation): void
  209.     {
  210.         $this->transportation $transportation;
  211.     }
  212.     public function getBudget(): ?string
  213.     {
  214.         return $this->budget;
  215.     }
  216.     public function setBudget(?string $budget): void
  217.     {
  218.         $this->budget $budget;
  219.     }
  220. }