src/MDS/GreenPatioBundle/Entity/ReservationVisit.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\MDS\GreenPatioBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ReservationVisit
  6.  *
  7.  * @ORM\Table(name="reservation_visit")
  8.  * @ORM\Entity(repositoryClass="App\MDS\GreenPatioBundle\Repository\ReservationVisitRepository")
  9.  */
  10. class ReservationVisit
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="agentId", type="integer")
  24.      */
  25.     private $agentId;
  26.     /**
  27.      * @var int
  28.      *
  29.      * @ORM\Column(name="clientId", type="integer", nullable=true)
  30.      */
  31.     private $clientId;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="clientName", type="string", length=255, nullable=true)
  36.      */
  37.     private $clientName;
  38. ////////////////////////////////////////////////// REPLICACION DE CAMPOS DE LA RESERVATION SIMPLE //////////////////////////////////////////////////
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="loungeName", type="string", length=255, nullable=true)
  43.      */
  44.     private $loungeName;
  45.     /**
  46.      * @var int
  47.      * Campo utilizado para determinar el espacio: Green Patio o Covarrubias
  48.      *
  49.      * @ORM\Column(name="idLounge", type="integer", nullable=true)
  50.      */
  51.     private $idLounge;
  52.     /**
  53.      * @var int
  54.      * Campo utilizado para determinar la sala
  55.      *
  56.      * @ORM\Column(name="idLoungeDetails", type="integer", nullable=true)
  57.      */
  58.     private $idLoungeDetails;
  59.     /**
  60.      * @var \DateTime
  61.      *
  62.      * @ORM\Column(name="dateStart", type="datetime", nullable=true)
  63.      */
  64.     private $dateStart;
  65.     /**
  66.      * @var \DateTime
  67.      *
  68.      * @ORM\Column(name="dateEnd", type="datetime", nullable=true)
  69.      */
  70.     private $dateEnd;
  71.     /**
  72.      * @var int
  73.      *
  74.      * @ORM\Column(name="servicePrice", type="integer", nullable=true)
  75.      */
  76.     private $servicePrice;
  77.     /**
  78.      * @var int
  79.      *
  80.      * @ORM\Column(name="idReservation", type="integer", nullable=true)
  81.      *
  82.      */
  83.     private $idReservation;
  84.     /**
  85.      * @var int
  86.      *
  87.      * @ORM\Column(name="pax", type="integer", nullable=true)
  88.      */
  89.     private $pax;
  90.     /**
  91.      * @var string
  92.      *
  93.      * @ORM\Column(name="type", type="string", length=255, nullable=true)
  94.      */
  95.     private $type;
  96.     /**
  97.      * @var string
  98.      *
  99.      * @ORM\Column(name="hourStart", type="string", length=255)
  100.      */
  101.     private $hourStart;
  102.     /**
  103.      * @var string
  104.      *
  105.      * @ORM\Column(name="minStart", type="string", length=255)
  106.      */
  107.     private $minStart;
  108.     /**
  109.      * @var string
  110.      *
  111.      * @ORM\Column(name="hourEnd", type="string", length=255)
  112.      */
  113.     private $hourEnd;
  114.     /**
  115.      * @var string
  116.      *
  117.      * @ORM\Column(name="minEnd", type="string", length=255)
  118.      */
  119.     private $minEnd;
  120. ////////////////////////////////////////////////// REPLICACION DE CAMPOS DE LA RESERVATION SIMPLE //////////////////////////////////////////////////
  121.     /**
  122.      * @var \DateTime
  123.      *
  124.      * @ORM\Column(name="createdAt", type="datetime")
  125.      */
  126.     private $createdAt;
  127.     /**
  128.      * @var int
  129.      *
  130.      * @ORM\Column(name="createdId", type="integer")
  131.      */
  132.     private $createdId;
  133.     /**
  134.      * @var \DateTime
  135.      *
  136.      * @ORM\Column(name="updatedAt", type="datetime")
  137.      */
  138.     private $updatedAt;
  139.     /**
  140.      * @var int
  141.      *
  142.      * @ORM\Column(name="updatedId", type="integer")
  143.      */
  144.     private $updatedId;
  145.     /**
  146.      * Get id
  147.      *
  148.      * @return int
  149.      */
  150.     public function getId()
  151.     {
  152.         return $this->id;
  153.     }
  154.     /**
  155.      * Set agentId
  156.      *
  157.      * @param integer $agentId
  158.      *
  159.      * @return ReservationVisit
  160.      */
  161.     public function setAgentId($agentId)
  162.     {
  163.         $this->agentId $agentId;
  164.         return $this;
  165.     }
  166.     /**
  167.      * Get agentId
  168.      *
  169.      * @return integer
  170.      */
  171.     public function getAgentId()
  172.     {
  173.         return $this->agentId;
  174.     }
  175.     /**
  176.      * Set clientId
  177.      *
  178.      * @param integer $clientId
  179.      *
  180.      * @return ReservationVisit
  181.      */
  182.     public function setClientId($clientId)
  183.     {
  184.         $this->clientId $clientId;
  185.         return $this;
  186.     }
  187.     /**
  188.      * Get clientId
  189.      *
  190.      * @return integer
  191.      */
  192.     public function getClientId()
  193.     {
  194.         return $this->clientId;
  195.     }
  196.     /**
  197.      * Set clientName
  198.      *
  199.      * @param string $clientName
  200.      *
  201.      * @return ReservationVisit
  202.      */
  203.     public function setClientName($clientName)
  204.     {
  205.         $this->clientName $clientName;
  206.         return $this;
  207.     }
  208.     /**
  209.      * Get clientName
  210.      *
  211.      * @return string
  212.      */
  213.     public function getClientName()
  214.     {
  215.         return $this->clientName;
  216.     }
  217.     /**
  218.      * Set loungeName
  219.      *
  220.      * @param string $loungeName
  221.      *
  222.      * @return ReservationVisit
  223.      */
  224.     public function setLoungeName($loungeName)
  225.     {
  226.         $this->loungeName $loungeName;
  227.         return $this;
  228.     }
  229.     /**
  230.      * Get loungeName
  231.      *
  232.      * @return string
  233.      */
  234.     public function getLoungeName()
  235.     {
  236.         return $this->loungeName;
  237.     }
  238.     /**
  239.      * Set idLounge
  240.      *
  241.      * @param integer $idLounge
  242.      *
  243.      * @return ReservationVisit
  244.      */
  245.     public function setIdLounge($idLounge)
  246.     {
  247.         $this->idLounge $idLounge;
  248.         return $this;
  249.     }
  250.     /**
  251.      * Get idLounge
  252.      *
  253.      * @return integer
  254.      */
  255.     public function getIdLounge()
  256.     {
  257.         return $this->idLounge;
  258.     }
  259.     /**
  260.      * Set idLoungeDetails
  261.      *
  262.      * @param integer $idLoungeDetails
  263.      *
  264.      * @return ReservationVisit
  265.      */
  266.     public function setIdLoungeDetails($idLoungeDetails)
  267.     {
  268.         $this->idLoungeDetails $idLoungeDetails;
  269.         return $this;
  270.     }
  271.     /**
  272.      * Get idLounge
  273.      *
  274.      * @return integer
  275.      */
  276.     public function getIdLoungeDetails()
  277.     {
  278.         return $this->idLoungeDetails;
  279.     }
  280.     /**
  281.      * Set dateStart
  282.      *
  283.      * @param \DateTime $dateStart
  284.      *
  285.      * @return ReservationVisit
  286.      */
  287.     public function setDateStart($dateStart)
  288.     {
  289.         $this->dateStart $dateStart;
  290.         return $this;
  291.     }
  292.     /**
  293.      * Get dateStart
  294.      *
  295.      * @return \DateTime
  296.      */
  297.     public function getDateStart()
  298.     {
  299.         return $this->dateStart;
  300.     }
  301.     /**
  302.      * Set dateEnd
  303.      *
  304.      * @param \DateTime $dateEnd
  305.      *
  306.      * @return ReservationVisit
  307.      */
  308.     public function setDateEnd($dateEnd)
  309.     {
  310.         $this->dateEnd $dateEnd;
  311.         return $this;
  312.     }
  313.     /**
  314.      * Get dateEnd
  315.      *
  316.      * @return \DateTime
  317.      */
  318.     public function getDateEnd()
  319.     {
  320.         return $this->dateEnd;
  321.     }
  322.     /**
  323.      * Set servicePrice
  324.      *
  325.      * @param integer $servicePrice
  326.      *
  327.      * @return ReservationVisit
  328.      */
  329.     public function setServicePrice($servicePrice)
  330.     {
  331.         $this->servicePrice $servicePrice;
  332.         return $this;
  333.     }
  334.     /**
  335.      * Get servicePrice
  336.      *
  337.      * @return integer
  338.      */
  339.     public function getServicePrice()
  340.     {
  341.         return $this->servicePrice;
  342.     }
  343.     /**
  344.      * Set idReservation
  345.      *
  346.      * @param integer $idReservation
  347.      *
  348.      * @return ReservationVisit
  349.      */
  350.     public function setIdReservation($idReservation)
  351.     {
  352.         $this->idReservation $idReservation;
  353.         return $this;
  354.     }
  355.     /**
  356.      * Get idReservation
  357.      *
  358.      * @return integer
  359.      */
  360.     public function getIdReservation()
  361.     {
  362.         return $this->idReservation;
  363.     }
  364.     /**
  365.      * Set pax
  366.      *
  367.      * @param integer $pax
  368.      *
  369.      * @return ReservationVisit
  370.      */
  371.     public function setPax($pax)
  372.     {
  373.         $this->pax $pax;
  374.         return $this;
  375.     }
  376.     /**
  377.      * Get pax
  378.      *
  379.      * @return integer
  380.      */
  381.     public function getPax()
  382.     {
  383.         return $this->pax;
  384.     }
  385.     /**
  386.      * Set type
  387.      *
  388.      * @param string $type
  389.      *
  390.      * @return ReservationVisit
  391.      */
  392.     public function setType($type)
  393.     {
  394.         $this->type $type;
  395.         return $this;
  396.     }
  397.     /**
  398.      * Get type
  399.      *
  400.      * @return string
  401.      */
  402.     public function getType()
  403.     {
  404.         return $this->type;
  405.     }
  406.     /**
  407.      * Set hourStart
  408.      *
  409.      * @param string $hourStart
  410.      *
  411.      * @return ReservationVisit
  412.      */
  413.     public function setHourStart($hourStart)
  414.     {
  415.         $this->hourStart $hourStart;
  416.         return $this;
  417.     }
  418.     /**
  419.      * Get hourStart
  420.      *
  421.      * @return string
  422.      */
  423.     public function getHourStart()
  424.     {
  425.         return $this->hourStart;
  426.     }
  427.     /**
  428.      * Set minStart
  429.      *
  430.      * @param string $minStart
  431.      *
  432.      * @return ReservationVisit
  433.      */
  434.     public function setMinStart($minStart)
  435.     {
  436.         $this->minStart $minStart;
  437.         return $this;
  438.     }
  439.     /**
  440.      * Get minStart
  441.      *
  442.      * @return string
  443.      */
  444.     public function getMinStart()
  445.     {
  446.         return $this->minStart;
  447.     }
  448.     /**
  449.      * Set hourEnd
  450.      *
  451.      * @param string $hourEnd
  452.      *
  453.      * @return ReservationVisit
  454.      */
  455.     public function setHourEnd($hourEnd)
  456.     {
  457.         $this->hourEnd $hourEnd;
  458.         return $this;
  459.     }
  460.     /**
  461.      * Get hourEnd
  462.      *
  463.      * @return string
  464.      */
  465.     public function getHourEnd()
  466.     {
  467.         return $this->hourEnd;
  468.     }
  469.     /**
  470.      * Set minEnd
  471.      *
  472.      * @param string $minEnd
  473.      *
  474.      * @return ReservationVisit
  475.      */
  476.     public function setMinEnd($minEnd)
  477.     {
  478.         $this->minEnd $minEnd;
  479.         return $this;
  480.     }
  481.     /**
  482.      * Get minEnd
  483.      *
  484.      * @return string
  485.      */
  486.     public function getMinEnd()
  487.     {
  488.         return $this->minEnd;
  489.     }
  490.     /**
  491.      * Set createdAt
  492.      *
  493.      * @param \DateTime $createdAt
  494.      *
  495.      * @return ReservationVisit
  496.      */
  497.     public function setCreatedAt($createdAt)
  498.     {
  499.         $this->createdAt $createdAt;
  500.         return $this;
  501.     }
  502.     /**
  503.      * Get createdAt
  504.      *
  505.      * @return \DateTime
  506.      */
  507.     public function getCreatedAt()
  508.     {
  509.         return $this->createdAt;
  510.     }
  511.     /**
  512.      * Set createdId
  513.      *
  514.      * @param integer $createdId
  515.      *
  516.      * @return ReservationVisit
  517.      */
  518.     public function setCreatedId($createdId)
  519.     {
  520.         $this->createdId $createdId;
  521.         return $this;
  522.     }
  523.     /**
  524.      * Get createdId
  525.      *
  526.      * @return integer
  527.      */
  528.     public function getCreatedId()
  529.     {
  530.         return $this->createdId;
  531.     }
  532.     /**
  533.      * Set updatedAt
  534.      *
  535.      * @param \DateTime $updatedAt
  536.      *
  537.      * @return ReservationVisit
  538.      */
  539.     public function setUpdatedAt($updatedAt)
  540.     {
  541.         $this->updatedAt $updatedAt;
  542.         return $this;
  543.     }
  544.     /**
  545.      * Get updatedAt
  546.      *
  547.      * @return \DateTime
  548.      */
  549.     public function getUpdatedAt()
  550.     {
  551.         return $this->updatedAt;
  552.     }
  553.     /**
  554.      * Set updatedId
  555.      *
  556.      * @param integer $updatedId
  557.      *
  558.      * @return ReservationVisit
  559.      */
  560.     public function setUpdatedId($updatedId)
  561.     {
  562.         $this->updatedId $updatedId;
  563.         return $this;
  564.     }
  565.     /**
  566.      * Get updatedId
  567.      *
  568.      * @return integer
  569.      */
  570.     public function getUpdatedId()
  571.     {
  572.         return $this->updatedId;
  573.     }
  574. }