<?php
namespace App\Entity;
use App\Repository\QuoteRequestRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=QuoteRequestRepository::class)
*/
class QuoteRequest
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $status;
/**
* @ORM\ManyToOne(targetEntity=TypeVoyage::class, inversedBy="quoteRequests")
*/
private $tripVoyage;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $destination;
/**
* @ORM\Column(type="date", nullable=true)
*/
private $startDate;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $durrationDays;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $createdAt;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $travAdults;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $travChildren;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $childrenAge;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $budgetForm;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $boardType;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $interest;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $message;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $fullName;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $email;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $phone;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $newsletter;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $rgpd;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $attachment;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $note;
public function getId(): ?int
{
return $this->id;
}
public function getStatus(): ?string
{
return $this->status;
}
public function setStatus(?string $status): self
{
$this->status = $status;
return $this;
}
public function getTripVoyage(): ?TypeVoyage
{
return $this->tripVoyage;
}
public function setTripVoyage(?TypeVoyage $tripVoyage): self
{
$this->tripVoyage = $tripVoyage;
return $this;
}
public function getDestination(): ?string
{
return $this->destination;
}
public function setDestination(?string $destination): self
{
$this->destination = $destination;
return $this;
}
public function getStartDate(): ?\DateTimeInterface
{
return $this->startDate;
}
public function setStartDate(?\DateTimeInterface $startDate): self
{
$this->startDate = $startDate;
return $this;
}
public function getDurrationDays(): ?int
{
return $this->durrationDays;
}
public function setDurrationDays(?int $durrationDays): self
{
$this->durrationDays = $durrationDays;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(?\DateTimeImmutable $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getTravAdults(): ?int
{
return $this->travAdults;
}
public function setTravAdults(?int $travAdults): self
{
$this->travAdults = $travAdults;
return $this;
}
public function getTravChildren(): ?int
{
return $this->travChildren;
}
public function setTravChildren(?int $travChildren): self
{
$this->travChildren = $travChildren;
return $this;
}
public function getChildrenAge(): ?string
{
return $this->childrenAge;
}
public function setChildrenAge(?string $childrenAge): self
{
$this->childrenAge = $childrenAge;
return $this;
}
public function getBudgetForm(): ?int
{
return $this->budgetForm;
}
public function setBudgetForm(?int $budgetForm): self
{
$this->budgetForm = $budgetForm;
return $this;
}
public function getBoardType(): ?string
{
return $this->boardType;
}
public function setBoardType(?string $boardType): self
{
$this->boardType = $boardType;
return $this;
}
public function getInterest(): ?string
{
return $this->interest;
}
public function setInterest(?string $interest): self
{
$this->interest = $interest;
return $this;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(?string $message): self
{
$this->message = $message;
return $this;
}
public function getFullName(): ?string
{
return $this->fullName;
}
public function setFullName(?string $fullName): self
{
$this->fullName = $fullName;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(?string $phone): self
{
$this->phone = $phone;
return $this;
}
public function isNewsletter(): ?bool
{
return $this->newsletter;
}
public function setNewsletter(?bool $newsletter): self
{
$this->newsletter = $newsletter;
return $this;
}
public function isRgpd(): ?bool
{
return $this->rgpd;
}
public function setRgpd(?bool $rgpd): self
{
$this->rgpd = $rgpd;
return $this;
}
public function getAttachment(): ?string
{
return $this->attachment;
}
public function setAttachment(?string $attachment): self
{
$this->attachment = $attachment;
return $this;
}
public function getNote(): ?string
{
return $this->note;
}
public function setNote(?string $note): self
{
$this->note = $note;
return $this;
}
}