<?php
namespace App\MDS\AvexpressBundle\Entity;
use App\MDS\GreenPatioBundle\Entity\Reservation;
use Doctrine\ORM\Mapping as ORM;
/**
* AveFiles
*
* @ORM\Table(name="ave_files")
* @ORM\Entity(repositoryClass="App\MDS\AvexpressBundle\Repository\AveFilesRepository")
*/
class AveFiles
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255)
*/
private $title;
/**
* @var string
*
* @ORM\Column(name="client", type="string", length=255, nullable=true )
*
*/
private $client;
/**
* @var string
*
* @ORM\Column(name="priority", type="string", length=255, nullable=true )
*/
private $priority;
/**
* @var string
*
* @ORM\Column(name="supplier", type="string", length=255, nullable=true)
*/
private $supplier;
/**
* @var string
*
* @ORM\Column(name="status", type="string", length=255, nullable=true)
*/
private $status;
/**
* @var int
*
* @ORM\Column(name="daysBlock", type="integer", nullable=true)
*/
private $daysBlock;
/**
* @var string
*
* @ORM\Column(name="advancePayment", type="string", length=255, nullable=true)
*/
private $advancePayment;
/**
* @var int
*
* @ORM\Column(name="idProposal", type="integer", nullable=true)
*/
private $idProposal;
/**
* @var string
*
* @ORM\Column(name="cateringName", type="string", length=255, nullable=true)
*/
private $cateringName;
/**
* @var string
*
* @ORM\Column(name="boolCatering", type="boolean", nullable=true)
*/
private $boolCatering;
/**
* @var \DateTime
*
* @ORM\Column(name="dateStart", type="datetime", nullable=true)
*/
private $dateStart;
/**
* @var \DateTime
*
* @ORM\Column(name="dateEnd", type="datetime", nullable=true)
*/
private $dateEnd;
/**
* @var int
*
* @ORM\Column(name="pax", type="integer", nullable=true)
*/
private $pax;
/**
* @var int
*
* @ORM\Column(name="deposit", type="integer", nullable=true)
*/
private $deposit;
/**
* @var string
*
* @ORM\Column(name="access_key", type="string", length=255, nullable=true)
*/
private $accessKey;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
/**
* @var int
*
* @ORM\Column(name="destinoId", type="integer", nullable=true)
*/
private $destinoId;
/**
* @var \DateTime
*
* @ORM\Column(name="createdAt", type="datetime")
*/
private $createdAt;
/**
* @var string
*
* @ORM\Column(name="createdId", type="string", length=255)
*/
private $createdId;
/**
* @var \DateTime
*
* @ORM\Column(name="updatedAt", type="datetime")
*/
private $updatedAt;
/**
* @var string
*
* @ORM\Column(name="updatedId", type="string", length=255)
*/
private $updatedId;
////////////// COMMENTS SON LOS COMENTARIOS QUE PASAN A LA FACTURA O A LA PROFORMA
/**
* @var string
*
* @ORM\Column(name="comments", type="text", nullable=true)
*/
private $comments;
////////////// BOOLEANO DE LOS COMMENTS PASAN A LA FACTURA
/**
* @var bool
*
* @ORM\Column(name="comments_in_inv", type="boolean", nullable=true)
*/
private $commentsInInv;
////////////// BOOLEANO DE LOS COMMENTS PASAN A LA PROFORMA
/**
* @var bool
*
* @ORM\Column(name="comments_in_pro", type="boolean", nullable=true)
*/
private $commentsInPro;
///////////// Campo extra de información para la descripción del cliente en la factura, por ejemplo "Orden de compra"
/**
* @var string
*
* @ORM\Column(name="xtra_field_one", type="string", length=255, nullable=true )
*
*/
private $xtraFieldOne;
///////////// Campo extra de información para la descripción del cliente en la factura, por ejemplo "Codigo de Orden de compra"
/**
* @var string
*
* @ORM\Column(name="xtra_field_two", type="string", length=255, nullable=true )
*
*/
private $xtraFieldTwo;
/**
* @ORM\OneToOne(targetEntity=Reservation::class, cascade={"persist", "remove"})
*/
private $reservation;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set title
*
* @param string $title
*
* @return AveFiles
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Set client
*
* @param string $client
*
* @return AveFiles
*/
public function setClient($client)
{
$this->client = $client;
return $this;
}
/**
* Get client
*
* @return string
*/
public function getClient()
{
return $this->client;
}
/**
* Set priority
*
* @param string $priority
*
* @return AveFiles
*/
public function setPriority($priority)
{
$this->priority = $priority;
return $this;
}
/**
* Get priority
*
* @return string
*/
public function getPriority()
{
return $this->priority;
}
/**
* Set supplier
*
* @param string $supplier
*
* @return AveFiles
*/
public function setSupplier($supplier)
{
$this->supplier = $supplier;
return $this;
}
/**
* Get supplier
*
* @return string
*/
public function getSupplier()
{
return $this->supplier;
}
/**
* Set status
*
* @param string $status
*
* @return AveFiles
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status
*
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* Set daysBlock
*
* @param integer $daysBlock
*
* @return AveFiles
*/
public function setDaysBlock($daysBlock)
{
$this->daysBlock = $daysBlock;
return $this;
}
/**
* Get daysBlock
*
* @return integer
*/
public function getDaysBlock()
{
return $this->daysBlock;
}
/**
* Set advancePayment
*
* @param string $advancePayment
*
* @return AveFiles
*/
public function setAdvancePayment($advancePayment)
{
$this->advancePayment = $advancePayment;
return $this;
}
/**
* Get advancePayment
*
* @return string
*/
public function getAdvancePayment()
{
return $this->advancePayment;
}
/**
* Set idProposal
*
* @param integer $idProposal
*
* @return AveFiles
*/
public function setIdProposal($idProposal)
{
$this->idProposal = $idProposal;
return $this;
}
/**
* Get idProposal
*
* @return integer
*/
public function getIdProposal()
{
return $this->idProposal;
}
/**
* Set cateringName
*
* @param string $cateringName
*
* @return AveFiles
*/
public function setCateringName($cateringName)
{
$this->cateringName = $cateringName;
return $this;
}
/**
* Get cateringName
*
* @return string
*/
public function getCateringName()
{
return $this->cateringName;
}
/**
* Set boolCatering
*
* @param boolean $boolCatering
*
* @return AveFiles
*/
public function setBoolCatering($boolCatering)
{
$this->boolCatering = $boolCatering;
return $this;
}
/**
* Get boolCatering
*
* @return boolean
*/
public function getBoolCatering()
{
return $this->boolCatering;
}
/**
* Set dateStart
*
* @param \DateTime $dateStart
*
* @return AveFiles
*/
public function setDateStart($dateStart)
{
$this->dateStart = $dateStart;
return $this;
}
/**
* Get dateStart
*
* @return \DateTime
*/
public function getDateStart()
{
return $this->dateStart;
}
/**
* Set dateEnd
*
* @param \DateTime $dateEnd
*
* @return AveFiles
*/
public function setDateEnd($dateEnd)
{
$this->dateEnd = $dateEnd;
return $this;
}
/**
* Get dateEnd
*
* @return \DateTime
*/
public function getDateEnd()
{
return $this->dateEnd;
}
/**
* Set pax
*
* @param integer $pax
*
* @return AveFiles
*/
public function setPax($pax)
{
$this->pax = $pax;
return $this;
}
/**
* Get pax
*
* @return integer
*/
public function getPax()
{
return $this->pax;
}
/**
* Set deposit
*
* @param integer $deposit
*
* @return AveFiles
*/
public function setDeposit($deposit)
{
$this->deposit = $deposit;
return $this;
}
/**
* Get deposit
*
* @return integer
*/
public function getDeposit()
{
return $this->deposit;
}
/**
* Set accessKey
*
* @param string $accessKey
*
* @return AveFiles
*/
public function setAccessKey($accessKey)
{
$this->accessKey = $accessKey;
return $this;
}
/**
* Get accessKey
*
* @return string
*/
public function getAccessKey()
{
return $this->accessKey;
}
/**
* Set description
*
* @param string $description
*
* @return AveFiles
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return AveFiles
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set createdId
*
* @param string $createdId
*
* @return AveFiles
*/
public function setCreatedId($createdId)
{
$this->createdId = $createdId;
return $this;
}
/**
* Get createdId
*
* @return string
*/
public function getCreatedId()
{
return $this->createdId;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return AveFiles
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* Set updatedId
*
* @param string $updatedId
*
* @return AveFiles
*/
public function setUpdatedId($updatedId)
{
$this->updatedId = $updatedId;
return $this;
}
/**
* Get updatedId
*
* @return string
*/
public function getUpdatedId()
{
return $this->updatedId;
}
/**
* Set destinoId
*
* @param integer $destinoId
*
* @return AveFiles
*/
public function setDestinoId($destinoId)
{
$this->destinoId = $destinoId;
return $this;
}
/**
* Get destinoId
*
* @return integer
*/
public function getDestinoId()
{
return $this->destinoId;
}
/**
* Set comments
*
* @param string $comments
*
* @return AveFiles
*/
public function setComments($comments)
{
$this->comments = $comments;
return $this;
}
/**
* Get comments
*
* @return string
*/
public function getComments()
{
return $this->comments;
}
/**
* Set commentsInInv
*
* @param boolean $commentsInInv
*
* @return AveFiles
*/
public function setCommentsInInv($commentsInInv)
{
$this->commentsInInv = $commentsInInv;
return $this;
}
/**
* Get commentsInInv
*
* @return boolean
*/
public function getCommentsInInv()
{
return $this->commentsInInv;
}
/**
* Set commentsInPro
*
* @param boolean $commentsInPro
*
* @return AveFiles
*/
public function setCommentsInPro($commentsInPro)
{
$this->commentsInPro = $commentsInPro;
return $this;
}
/**
* Get commentsInPro
*
* @return boolean
*/
public function getCommentsInPro()
{
return $this->commentsInPro;
}
/**
* Set xtraFieldOne
*
* @param string $xtraFieldOne
*
* @return AveFiles
*/
public function setXtraFieldOne($xtraFieldOne)
{
$this->xtraFieldOne = $xtraFieldOne;
return $this;
}
/**
* Get xtraFieldOne
*
* @return string
*/
public function getXtraFieldOne()
{
return $this->xtraFieldOne;
}
/**
* Set xtraFieldTwo
*
* @param string $xtraFieldTwo
*
* @return AveFiles
*/
public function setXtraFieldTwo($xtraFieldTwo)
{
$this->xtraFieldTwo = $xtraFieldTwo;
return $this;
}
/**
* Get xtraFieldTwo
*
* @return string
*/
public function getXtraFieldTwo()
{
return $this->xtraFieldTwo;
}
public function getReservation(): ?Reservation
{
return $this->reservation;
}
public function setReservation(?Reservation $reservation): self
{
$this->reservation = $reservation;
return $this;
}
}