<?php
namespace App\MDS\GreenPatioBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
* ReservationLoungeSimple
*
* @ORM\Table(name="reservation_lounge_simple")
* @ORM\Entity(repositoryClass="App\MDS\GreenPatioBundle\Repository\ReservationLoungeSimpleRepository")
* @ORM\HasLifecycleCallbacks()
*/
class ReservationLoungeSimple
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="loungeName", type="string", length=255)
*/
private $loungeName;
/**
* @var int
*
* @ORM\Column(name="idLounge", type="integer")
*/
private $idLounge;
/**
* @var \DateTime
*
* @ORM\Column(name="dateStart", type="datetime")
*/
private $dateStart;
/**
* @var \DateTime
*
* @ORM\Column(name="dateEnd", type="datetime")
*/
private $dateEnd;
/**
* @var int
*
* @ORM\Column(name="servicePrice", type="string", length=55)
*/
private $servicePrice;
/**
* @var int
*
* @ORM\Column(name="idReservation", type="integer")
*
*/
private $idReservation;
/**
* @var int
*
* @ORM\Column(name="pax", type="integer", nullable=true)
*/
private $pax;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=255, nullable=true)
*/
private $type;
/**
* @var \DateTime
*
* @ORM\Column(name="createdAt", type="datetime")
*/
private $createdAt;
/**
* @var int
*
* @ORM\Column(name="createdBy", type="integer")
*/
private $createdBy;
/**
* @var \DateTime
*
* @ORM\Column(name="updatedAt", type="datetime")
*/
private $updatedAt;
/**
* @var int
*
* @ORM\Column(name="updatedBy", type="integer")
*/
private $updatedBy;
/**
* @var string
*
* @ORM\Column(name="hourStart", type="string", length=255)
*/
private $hourStart;
/**
* @var string
*
* @ORM\Column(name="minStart", type="string", length=255)
*/
private $minStart;
/**
* @var string
*
* @ORM\Column(name="hourEnd", type="string", length=255)
*/
private $hourEnd;
/**
* @var string
*
* @ORM\Column(name="minEnd", type="string", length=255)
*/
private $minEnd;
/**
* @var int
*
* @ORM\Column(name="rankQuote", type="integer", nullable=true)
* Numero de cotizacion
*/
private $rankQuote;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set loungeName
*
* @param string $loungeName
*
* @return ReservationLoungeSimple
*/
public function setLoungeName($loungeName)
{
$this->loungeName = $loungeName;
return $this;
}
/**
* Get loungeName
*
* @return string
*/
public function getLoungeName()
{
return $this->loungeName;
}
/**
* Set idLounge
*
* @param integer $idLounge
*
* @return ReservationLoungeSimple
*/
public function setIdLounge($idLounge)
{
$this->idLounge = $idLounge;
return $this;
}
/**
* Get idLounge
*
* @return int
*/
public function getIdLounge()
{
return $this->idLounge;
}
/**
* Set dateStart
*
* @param \DateTime $dateStart
*
* @return ReservationLoungeSimple
*/
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 ReservationLoungeSimple
*/
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 ReservationLoungeSimple
*/
public function setPax($pax)
{
$this->pax = $pax;
return $this;
}
/**
* Get pax
*
* @return int
*/
public function getPax()
{
return $this->pax;
}
/**
* Set type
*
* @param string $type
*
* @return ReservationLoungeSimple
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return ReservationLoungeSimple
*/
public function setCreatedAt(\Datetime $createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set createdBy
*
* @param integer $createdBy
*
* @return ReservationLoungeSimple
*/
public function setCreatedBy($createdBy)
{
$this->createdBy = $createdBy;
return $this;
}
/**
* Get createdBy
*
* @return int
*/
public function getCreatedBy()
{
return $this->createdBy;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return ReservationLoungeSimple
*/
public function setUpdatedAt(\Datetime $updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* Set updatedBy
*
* @param integer $updatedBy
*
* @return ReservationLoungeSimple
*/
public function setUpdatedBy($updatedBy)
{
$this->updatedBy = $updatedBy;
return $this;
}
/**
* Get updatedBy
*
* @return int
*/
public function getUpdatedBy()
{
return $this->updatedBy;
}
/**
* Set hourStart
*
* @param string $hourStart
*
* @return ReservationLoungeSimple
*/
public function setHourStart($hourStart)
{
$this->hourStart = $hourStart;
return $this;
}
/**
* Get hourStart
*
* @return string
*/
public function getHourStart()
{
return $this->hourStart;
}
/**
* Set minStart
*
* @param string $minStart
*
* @return ReservationLoungeSimple
*/
public function setMinStart($minStart)
{
$this->minStart = $minStart;
return $this;
}
/**
* Get minStart
*
* @return string
*/
public function getMinStart()
{
return $this->minStart;
}
/**
* Set hourEnd
*
* @param string $hourEnd
*
* @return ReservationLoungeSimple
*/
public function setHourEnd($hourEnd)
{
$this->hourEnd = $hourEnd;
return $this;
}
/**
* Get hourEnd
*
* @return string
*/
public function getHourEnd()
{
return $this->hourEnd;
}
/**
* Set minEnd
*
* @param string $minEnd
*
* @return ReservationLoungeSimple
*/
public function setMinEnd($minEnd)
{
$this->minEnd = $minEnd;
return $this;
}
/**
* Get minEnd
*
* @return string
*/
public function getMinEnd()
{
return $this->minEnd;
}
/**
* Set idReservation
*
* @param integer $idReservation
*
* @return ReservationLoungeSimple
*/
public function setIdReservation($idReservation)
{
$this->idReservation = $idReservation;
return $this;
}
/**
* Get idReservation
*
* @return integer
*/
public function getIdReservation()
{
return $this->idReservation;
}
/**
* @ORM\PrePersist
*/
public function setCreatedAtValue()
{
$this->createdAt = new \Datetime();
}
/**
* @ORM\PrePersist
* @ORM\PreUpdate
*/
public function setUpdatedAtValue()
{
$this->updatedAt = new \Datetime();
}
/**
* Set servicePrice
*
* @param string $servicePrice
*
* @return ReservationLoungeSimple
*/
public function setServicePrice($servicePrice)
{
$this->servicePrice = $servicePrice;
return $this;
}
/**
* Get servicePrice
*
* @return string
*/
public function getServicePrice()
{
return $this->servicePrice;
}
/**
* Set rankQuote
*
* @param integer $rankQuote
*
* @return ReservationLoungeSimple
*/
public function setRankQuote($rankQuote)
{
$this->rankQuote = $rankQuote;
return $this;
}
/**
* Get rankQuote
*
* @return int
*/
public function getRankQuote()
{
return $this->rankQuote;
}
}