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

Open in your IDE?
  1. <?php
  2. namespace App\MDS\GreenPatioBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ReservationLoungeProfile
  6.  *
  7.  * @ORM\Table(name="reservation_lounge_profile")
  8.  * @ORM\Entity(repositoryClass="App\MDS\GreenPatioBundle\Repository\ReservationLoungeProfileRepository")
  9.  */
  10. class ReservationLoungeProfile
  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="loungeId", type="integer")
  24.      */
  25.     private $loungeId;
  26.     /**
  27.      * @var int
  28.      *
  29.      * @ORM\Column(name="periodId", type="integer")
  30.      */
  31.     private $periodId;
  32.     /**
  33.      * @var int
  34.      *
  35.      * @ORM\Column(name="price", type="integer")
  36.      */
  37.     private $price;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="description", type="string", length=255, nullable=true)
  42.      */
  43.     private $description;
  44.     /**
  45.      * @var int
  46.      *
  47.      * @ORM\Column(name="created_id", type="integer")
  48.      */
  49.     private $createdId;
  50.     /**
  51.      * @var \DateTime
  52.      *
  53.      * @ORM\Column(name="created_at", type="datetime")
  54.      */
  55.     private $createdAt;
  56.     /**
  57.      * @var int
  58.      *
  59.      * @ORM\Column(name="updated_id", type="integer")
  60.      */
  61.     private $updatedId;
  62.     /**
  63.      * @var \DateTime
  64.      *
  65.      * @ORM\Column(name="updated_at", type="datetime")
  66.      */
  67.     private $updatedAt;
  68.     // ***************************************** AÑOS *****************************************
  69.     /**
  70.      * @var int
  71.      *
  72.      * @ORM\Column(name="year1", type="integer", nullable=true)
  73.      */
  74.     private $year1;
  75.     /**
  76.      * @var int
  77.      *
  78.      * @ORM\Column(name="year2", type="integer", nullable=true)
  79.      */
  80.     private $year2;
  81.     // ***************************************** MESES *****************************************
  82.     /**
  83.      * @var bool
  84.      *
  85.      * @ORM\Column(name="month1", type="boolean", nullable=true)
  86.      */
  87.     private $month1;
  88.     /**
  89.      * @var bool
  90.      *
  91.      * @ORM\Column(name="month2", type="boolean", nullable=true)
  92.      */
  93.     private $month2;
  94.     /**
  95.      * @var bool
  96.      *
  97.      * @ORM\Column(name="month3", type="boolean", nullable=true)
  98.      */
  99.     private $month3;
  100.     /**
  101.      * @var bool
  102.      *
  103.      * @ORM\Column(name="month4", type="boolean", nullable=true)
  104.      */
  105.     private $month4;
  106.     /**
  107.      * @var bool
  108.      *
  109.      * @ORM\Column(name="month5", type="boolean", nullable=true)
  110.      */
  111.     private $month5;
  112.     /**
  113.      * @var bool
  114.      *
  115.      * @ORM\Column(name="month6", type="boolean", nullable=true)
  116.      */
  117.     private $month6;
  118.     /**
  119.      * @var bool
  120.      *
  121.      * @ORM\Column(name="month7", type="boolean", nullable=true)
  122.      */
  123.     private $month7;
  124.     /**
  125.      * @var bool
  126.      *
  127.      * @ORM\Column(name="month8", type="boolean", nullable=true)
  128.      */
  129.     private $month8;
  130.     /**
  131.      * @var bool
  132.      *
  133.      * @ORM\Column(name="month9", type="boolean", nullable=true)
  134.      */
  135.     private $month9;
  136.     /**
  137.      * @var bool
  138.      *
  139.      * @ORM\Column(name="month10", type="boolean", nullable=true)
  140.      */
  141.     private $month10;
  142.     /**
  143.      * @var bool
  144.      *
  145.      * @ORM\Column(name="month11", type="boolean", nullable=true)
  146.      */
  147.     private $month11;
  148.     /**
  149.      * @var bool
  150.      *
  151.      * @ORM\Column(name="month12", type="boolean", nullable=true)
  152.      */
  153.     private $month12;
  154.     // ***************************************** DIAS *****************************************
  155.     /**
  156.      * @var bool
  157.      *
  158.      * @ORM\Column(name="day1", type="boolean", nullable=true)
  159.      */
  160.     private $day1;
  161.     /**
  162.      * @var bool
  163.      *
  164.      * @ORM\Column(name="day2", type="boolean", nullable=true)
  165.      */
  166.     private $day2;
  167.     /**
  168.      * @var bool
  169.      *
  170.      * @ORM\Column(name="day3", type="boolean", nullable=true)
  171.      */
  172.     private $day3;
  173.     /**
  174.      * @var bool
  175.      *
  176.      * @ORM\Column(name="day4", type="boolean", nullable=true)
  177.      */
  178.     private $day4;
  179.     /**
  180.      * @var bool
  181.      *
  182.      * @ORM\Column(name="day5", type="boolean", nullable=true)
  183.      */
  184.     private $day5;
  185.     /**
  186.      * @var bool
  187.      *
  188.      * @ORM\Column(name="day6", type="boolean", nullable=true)
  189.      */
  190.     private $day6;
  191.     /**
  192.      * @var bool
  193.      *
  194.      * @ORM\Column(name="day7", type="boolean", nullable=true)
  195.      */
  196.     private $day7;
  197.     /**
  198.      * @var string
  199.      *
  200.      * @ORM\Column(name="title", type="string", length=255, nullable=true)
  201.      */
  202.     private $title;
  203.     /**
  204.      * @var bool
  205.      *
  206.      * @ORM\Column(name="priceIsActive", type="boolean", nullable=true)
  207.      */
  208.     private $priceIsActive;
  209.     /**
  210.      * @var \DateTime
  211.      *
  212.      * @ORM\Column(name="dateStart", type="datetime", nullable=true)
  213.      */
  214.     private $dateStart;
  215.     /**
  216.      * @var \DateTime
  217.      *
  218.      * @ORM\Column(name="dateEnd", type="datetime", nullable=true)
  219.      */
  220.     private $dateEnd;
  221.     /**
  222.      * @ORM\Column(type="string", length=50, nullable=true)
  223.      * Tipo de precio: "Tarifa" que es un precio para un grupo de días. "Diaria" que es un precio para un día.
  224.      */
  225.     private $typePrice;
  226.     /**
  227.      * @ORM\Column(type="integer", nullable=true)
  228.      * Determina la prioridad en caso de coincidir dos precios en un mismo día. A mayor valor, mayor prioridad.
  229.      */
  230.     private $levelPrice;
  231.     /**
  232.      * Get id
  233.      *
  234.      * @return int
  235.      */
  236.     public function getId()
  237.     {
  238.         return $this->id;
  239.     }
  240.     /**
  241.      * Set loungeId
  242.      *
  243.      * @param integer $loungeId
  244.      *
  245.      * @return ReservationLoungeProfile
  246.      */
  247.     public function setLoungeId($loungeId)
  248.     {
  249.         $this->loungeId $loungeId;
  250.         return $this;
  251.     }
  252.     /**
  253.      * Get loungeId
  254.      *
  255.      * @return int
  256.      */
  257.     public function getLoungeId()
  258.     {
  259.         return $this->loungeId;
  260.     }
  261.     /**
  262.      * Set periodId
  263.      *
  264.      * @param integer $periodId
  265.      *
  266.      * @return ReservationLoungeProfile
  267.      */
  268.     public function setPeriodId($periodId)
  269.     {
  270.         $this->periodId $periodId;
  271.         return $this;
  272.     }
  273.     /**
  274.      * Get periodId
  275.      *
  276.      * @return int
  277.      */
  278.     public function getPeriodId()
  279.     {
  280.         return $this->periodId;
  281.     }
  282.     /**
  283.      * Set price
  284.      *
  285.      * @param integer $price
  286.      *
  287.      * @return ReservationLoungeProfile
  288.      */
  289.     public function setPrice($price)
  290.     {
  291.         $this->price $price;
  292.         return $this;
  293.     }
  294.     /**
  295.      * Get price
  296.      *
  297.      * @return int
  298.      */
  299.     public function getPrice()
  300.     {
  301.         return $this->price;
  302.     }
  303.     /**
  304.      * Set description
  305.      *
  306.      * @param string $description
  307.      *
  308.      * @return ReservationLoungeProfile
  309.      */
  310.     public function setDescription($description)
  311.     {
  312.         $this->description $description;
  313.         return $this;
  314.     }
  315.     /**
  316.      * Get description
  317.      *
  318.      * @return string
  319.      */
  320.     public function getDescription()
  321.     {
  322.         return $this->description;
  323.     }
  324.     /**
  325.      * Set createdId
  326.      *
  327.      * @param integer $createdId
  328.      *
  329.      * @return ReservationLoungeProfile
  330.      */
  331.     public function setCreatedId($createdId)
  332.     {
  333.         $this->createdId $createdId;
  334.         return $this;
  335.     }
  336.     /**
  337.      * Get createdId
  338.      *
  339.      * @return integer
  340.      */
  341.     public function getCreatedId()
  342.     {
  343.         return $this->createdId;
  344.     }
  345.     /**
  346.      * Set createdAt
  347.      *
  348.      * @param \DateTime $createdAt
  349.      *
  350.      * @return ReservationLoungeProfile
  351.      */
  352.     public function setCreatedAt($createdAt)
  353.     {
  354.         $this->createdAt $createdAt;
  355.         return $this;
  356.     }
  357.     /**
  358.      * Get createdAt
  359.      *
  360.      * @return \DateTime
  361.      */
  362.     public function getCreatedAt()
  363.     {
  364.         return $this->createdAt;
  365.     }
  366.     /**
  367.      * Set updatedId
  368.      *
  369.      * @param integer $updatedId
  370.      *
  371.      * @return ReservationLoungeProfile
  372.      */
  373.     public function setUpdatedId($updatedId)
  374.     {
  375.         $this->updatedId $updatedId;
  376.         return $this;
  377.     }
  378.     /**
  379.      * Get updatedId
  380.      *
  381.      * @return integer
  382.      */
  383.     public function getUpdatedId()
  384.     {
  385.         return $this->updatedId;
  386.     }
  387.     /**
  388.      * Set updatedAt
  389.      *
  390.      * @param \DateTime $updatedAt
  391.      *
  392.      * @return ReservationLoungeProfile
  393.      */
  394.     public function setUpdatedAt($updatedAt)
  395.     {
  396.         $this->updatedAt $updatedAt;
  397.         return $this;
  398.     }
  399.     /**
  400.      * Get updatedAt
  401.      *
  402.      * @return \DateTime
  403.      */
  404.     public function getUpdatedAt()
  405.     {
  406.         return $this->updatedAt;
  407.     }
  408.     /**
  409.      * Set year1
  410.      *
  411.      * @param integer $year1
  412.      *
  413.      * @return ReservationLoungeProfile
  414.      */
  415.     public function setYear1($year1)
  416.     {
  417.         $this->year1 $year1;
  418.         return $this;
  419.     }
  420.     /**
  421.      * Get year1
  422.      *
  423.      * @return integer
  424.      */
  425.     public function getYear1()
  426.     {
  427.         return $this->year1;
  428.     }
  429.     /**
  430.      * Set year2
  431.      *
  432.      * @param integer $year2
  433.      *
  434.      * @return ReservationLoungeProfile
  435.      */
  436.     public function setYear2($year2)
  437.     {
  438.         $this->year2 $year2;
  439.         return $this;
  440.     }
  441.     /**
  442.      * Get year2
  443.      *
  444.      * @return integer
  445.      */
  446.     public function getYear2()
  447.     {
  448.         return $this->year2;
  449.     }
  450.     /**
  451.      * Set month1
  452.      *
  453.      * @param boolean $month1
  454.      *
  455.      * @return ReservationLoungeProfile
  456.      */
  457.     public function setMonth1($month1)
  458.     {
  459.         $this->month1 $month1;
  460.         return $this;
  461.     }
  462.     /**
  463.      * Get month1
  464.      *
  465.      * @return boolean
  466.      */
  467.     public function getMonth1()
  468.     {
  469.         return $this->month1;
  470.     }
  471.     /**
  472.      * Set month2
  473.      *
  474.      * @param boolean $month2
  475.      *
  476.      * @return ReservationLoungeProfile
  477.      */
  478.     public function setMonth2($month2)
  479.     {
  480.         $this->month2 $month2;
  481.         return $this;
  482.     }
  483.     /**
  484.      * Get month2
  485.      *
  486.      * @return boolean
  487.      */
  488.     public function getMonth2()
  489.     {
  490.         return $this->month2;
  491.     }
  492.     /**
  493.      * Set month3
  494.      *
  495.      * @param boolean $month3
  496.      *
  497.      * @return ReservationLoungeProfile
  498.      */
  499.     public function setMonth3($month3)
  500.     {
  501.         $this->month3 $month3;
  502.         return $this;
  503.     }
  504.     /**
  505.      * Get month3
  506.      *
  507.      * @return boolean
  508.      */
  509.     public function getMonth3()
  510.     {
  511.         return $this->month3;
  512.     }
  513.     /**
  514.      * Set month4
  515.      *
  516.      * @param boolean $month4
  517.      *
  518.      * @return ReservationLoungeProfile
  519.      */
  520.     public function setMonth4($month4)
  521.     {
  522.         $this->month4 $month4;
  523.         return $this;
  524.     }
  525.     /**
  526.      * Get month4
  527.      *
  528.      * @return boolean
  529.      */
  530.     public function getMonth4()
  531.     {
  532.         return $this->month4;
  533.     }
  534.     /**
  535.      * Set month5
  536.      *
  537.      * @param boolean $month5
  538.      *
  539.      * @return ReservationLoungeProfile
  540.      */
  541.     public function setMonth5($month5)
  542.     {
  543.         $this->month5 $month5;
  544.         return $this;
  545.     }
  546.     /**
  547.      * Get month5
  548.      *
  549.      * @return boolean
  550.      */
  551.     public function getMonth5()
  552.     {
  553.         return $this->month5;
  554.     }
  555.     /**
  556.      * Set month6
  557.      *
  558.      * @param boolean $month6
  559.      *
  560.      * @return ReservationLoungeProfile
  561.      */
  562.     public function setMonth6($month6)
  563.     {
  564.         $this->month6 $month6;
  565.         return $this;
  566.     }
  567.     /**
  568.      * Get month6
  569.      *
  570.      * @return boolean
  571.      */
  572.     public function getMonth6()
  573.     {
  574.         return $this->month6;
  575.     }
  576.     /**
  577.      * Set month7
  578.      *
  579.      * @param boolean $month7
  580.      *
  581.      * @return ReservationLoungeProfile
  582.      */
  583.     public function setMonth7($month7)
  584.     {
  585.         $this->month7 $month7;
  586.         return $this;
  587.     }
  588.     /**
  589.      * Get month7
  590.      *
  591.      * @return boolean
  592.      */
  593.     public function getMonth7()
  594.     {
  595.         return $this->month7;
  596.     }
  597.     /**
  598.      * Set month8
  599.      *
  600.      * @param boolean $month8
  601.      *
  602.      * @return ReservationLoungeProfile
  603.      */
  604.     public function setMonth8($month8)
  605.     {
  606.         $this->month8 $month8;
  607.         return $this;
  608.     }
  609.     /**
  610.      * Get month8
  611.      *
  612.      * @return boolean
  613.      */
  614.     public function getMonth8()
  615.     {
  616.         return $this->month8;
  617.     }
  618.     /**
  619.      * Set month9
  620.      *
  621.      * @param boolean $month9
  622.      *
  623.      * @return ReservationLoungeProfile
  624.      */
  625.     public function setMonth9($month9)
  626.     {
  627.         $this->month9 $month9;
  628.         return $this;
  629.     }
  630.     /**
  631.      * Get month9
  632.      *
  633.      * @return boolean
  634.      */
  635.     public function getMonth9()
  636.     {
  637.         return $this->month9;
  638.     }
  639.     /**
  640.      * Set month10
  641.      *
  642.      * @param boolean $month10
  643.      *
  644.      * @return ReservationLoungeProfile
  645.      */
  646.     public function setMonth10($month10)
  647.     {
  648.         $this->month10 $month10;
  649.         return $this;
  650.     }
  651.     /**
  652.      * Get month10
  653.      *
  654.      * @return boolean
  655.      */
  656.     public function getMonth10()
  657.     {
  658.         return $this->month10;
  659.     }
  660.     /**
  661.      * Set month11
  662.      *
  663.      * @param boolean $month11
  664.      *
  665.      * @return ReservationLoungeProfile
  666.      */
  667.     public function setMonth11($month11)
  668.     {
  669.         $this->month11 $month11;
  670.         return $this;
  671.     }
  672.     /**
  673.      * Get month11
  674.      *
  675.      * @return boolean
  676.      */
  677.     public function getMonth11()
  678.     {
  679.         return $this->month11;
  680.     }
  681.     /**
  682.      * Set month12
  683.      *
  684.      * @param boolean $month12
  685.      *
  686.      * @return ReservationLoungeProfile
  687.      */
  688.     public function setMonth12($month12)
  689.     {
  690.         $this->month12 $month12;
  691.         return $this;
  692.     }
  693.     /**
  694.      * Get month12
  695.      *
  696.      * @return boolean
  697.      */
  698.     public function getMonth12()
  699.     {
  700.         return $this->month12;
  701.     }
  702.     /**
  703.      * Set day1
  704.      *
  705.      * @param boolean $day1
  706.      *
  707.      * @return ReservationLoungeProfile
  708.      */
  709.     public function setDay1($day1)
  710.     {
  711.         $this->day1 $day1;
  712.         return $this;
  713.     }
  714.     /**
  715.      * Get day1
  716.      *
  717.      * @return boolean
  718.      */
  719.     public function getDay1()
  720.     {
  721.         return $this->day1;
  722.     }
  723.     /**
  724.      * Set day2
  725.      *
  726.      * @param boolean $day2
  727.      *
  728.      * @return ReservationLoungeProfile
  729.      */
  730.     public function setDay2($day2)
  731.     {
  732.         $this->day2 $day2;
  733.         return $this;
  734.     }
  735.     /**
  736.      * Get day2
  737.      *
  738.      * @return boolean
  739.      */
  740.     public function getDay2()
  741.     {
  742.         return $this->day2;
  743.     }
  744.     /**
  745.      * Set day3
  746.      *
  747.      * @param boolean $day3
  748.      *
  749.      * @return ReservationLoungeProfile
  750.      */
  751.     public function setDay3($day3)
  752.     {
  753.         $this->day3 $day3;
  754.         return $this;
  755.     }
  756.     /**
  757.      * Get day3
  758.      *
  759.      * @return boolean
  760.      */
  761.     public function getDay3()
  762.     {
  763.         return $this->day3;
  764.     }
  765.     /**
  766.      * Set day4
  767.      *
  768.      * @param boolean $day4
  769.      *
  770.      * @return ReservationLoungeProfile
  771.      */
  772.     public function setDay4($day4)
  773.     {
  774.         $this->day4 $day4;
  775.         return $this;
  776.     }
  777.     /**
  778.      * Get day4
  779.      *
  780.      * @return boolean
  781.      */
  782.     public function getDay4()
  783.     {
  784.         return $this->day4;
  785.     }
  786.     /**
  787.      * Set day5
  788.      *
  789.      * @param boolean $day5
  790.      *
  791.      * @return ReservationLoungeProfile
  792.      */
  793.     public function setDay5($day5)
  794.     {
  795.         $this->day5 $day5;
  796.         return $this;
  797.     }
  798.     /**
  799.      * Get day5
  800.      *
  801.      * @return boolean
  802.      */
  803.     public function getDay5()
  804.     {
  805.         return $this->day5;
  806.     }
  807.     /**
  808.      * Set day6
  809.      *
  810.      * @param boolean $day6
  811.      *
  812.      * @return ReservationLoungeProfile
  813.      */
  814.     public function setDay6($day6)
  815.     {
  816.         $this->day6 $day6;
  817.         return $this;
  818.     }
  819.     /**
  820.      * Get day6
  821.      *
  822.      * @return boolean
  823.      */
  824.     public function getDay6()
  825.     {
  826.         return $this->day6;
  827.     }
  828.     /**
  829.      * Set day7
  830.      *
  831.      * @param boolean $day7
  832.      *
  833.      * @return ReservationLoungeProfile
  834.      */
  835.     public function setDay7($day7)
  836.     {
  837.         $this->day7 $day7;
  838.         return $this;
  839.     }
  840.     /**
  841.      * Get day7
  842.      *
  843.      * @return boolean
  844.      */
  845.     public function getDay7()
  846.     {
  847.         return $this->day7;
  848.     }
  849.     /**
  850.      * Set title
  851.      *
  852.      * @param string $title
  853.      *
  854.      * @return ReservationLoungeProfile
  855.      */
  856.     public function setTitle($title)
  857.     {
  858.         $this->title $title;
  859.         return $this;
  860.     }
  861.     /**
  862.      * Get title
  863.      *
  864.      * @return string
  865.      */
  866.     public function getTitle()
  867.     {
  868.         return $this->title;
  869.     }
  870.     /**
  871.      * Set priceIsActive
  872.      *
  873.      * @param boolean $priceIsActive
  874.      *
  875.      * @return ReservationLoungeProfile
  876.      */
  877.     public function setPriceIsActive($priceIsActive)
  878.     {
  879.         $this->priceIsActive $priceIsActive;
  880.         return $this;
  881.     }
  882.     /**
  883.      * Get priceIsActive
  884.      *
  885.      * @return boolean
  886.      */
  887.     public function getPriceIsActive()
  888.     {
  889.         return $this->priceIsActive;
  890.     }
  891.     /**
  892.      * Set dateStart
  893.      *
  894.      * @param \DateTime $dateStart
  895.      *
  896.      * @return ReservationLoungeProfile
  897.      */
  898.     public function setDateStart($dateStart)
  899.     {
  900.         $this->dateStart $dateStart;
  901.         return $this;
  902.     }
  903.     /**
  904.      * Get dateStart
  905.      *
  906.      * @return \DateTime
  907.      */
  908.     public function getDateStart()
  909.     {
  910.         return $this->dateStart;
  911.     }
  912.     /**
  913.      * Set dateEnd
  914.      *
  915.      * @param \DateTime $dateEnd
  916.      *
  917.      * @return ReservationLoungeProfile
  918.      */
  919.     public function setDateEnd($dateEnd)
  920.     {
  921.         $this->dateEnd $dateEnd;
  922.         return $this;
  923.     }
  924.     /**
  925.      * Get dateEnd
  926.      *
  927.      * @return \DateTime
  928.      */
  929.     public function getDateEnd()
  930.     {
  931.         return $this->dateEnd;
  932.     }
  933.     public function getTypePrice(): ?string
  934.     {
  935.         return $this->typePrice;
  936.     }
  937.     public function setTypePrice(?string $typePrice): self
  938.     {
  939.         $this->typePrice $typePrice;
  940.         return $this;
  941.     }
  942.     public function getLevelPrice(): ?int
  943.     {
  944.         return $this->levelPrice;
  945.     }
  946.     public function setLevelPrice(?int $levelPrice): self
  947.     {
  948.         $this->levelPrice $levelPrice;
  949.         return $this;
  950.     }
  951. }