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