src/MDS/EventsBundle/Entity/ProposalSupplierServicesCostsClient.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\MDS\EventsBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Validator\Constraints as Assert;
  5. use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
  6. /**
  7.  * ProposalSupplierServicesCostsClient
  8.  *
  9.  * @ORM\Table(name="proposals_supplier_services_costs_client")
  10.  * @ORM\Entity(repositoryClass="App\MDS\EventsBundle\Repository\ProposalSupplierServicesCostsClientRepository")
  11.  * @ORM\HasLifecycleCallbacks()
  12.  */
  13. class ProposalSupplierServicesCostsClient
  14. {
  15.     /**
  16.      * @var int
  17.      *
  18.      * @ORM\Column(name="id", type="integer")
  19.      * @ORM\Id
  20.      * @ORM\GeneratedValue(strategy="AUTO")
  21.      */
  22.     private $id;
  23.     /**
  24.      * @var int
  25.      *
  26.      * @ORM\Column(name="service_id_proposal", type="integer")
  27.      */
  28.     private $serviceIdProposal;
  29.     /**
  30.      * @var int
  31.      *
  32.      * @ORM\Column(name="service_id_father", type="integer")
  33.      */
  34.     private $serviceIdFather '0';
  35.     /**
  36.      * @var int
  37.      *
  38.      * @ORM\Column(name="control_id", type="integer")
  39.      */
  40.     private $controlId;
  41.     /**
  42.      * @var int
  43.      *
  44.      * @ORM\Column(name="proposal_id", type="integer")
  45.      */
  46.     private $proposalId;
  47.     /**
  48.      * @var int
  49.      *
  50.      * @ORM\Column(name="destination_id", type="integer")
  51.      */
  52.     private $destinationId;
  53.     /**
  54.      * @var int
  55.      *
  56.      * @ORM\Column(name="idea_id", type="integer", nullable=true)
  57.      */
  58.     private $ideaId;
  59.     /**
  60.      * @var int
  61.      *
  62.      * @ORM\Column(name="activity_id", type="integer", nullable=true)
  63.      */
  64.     private $activityId;
  65.     /**
  66.      * @var int
  67.      *
  68.      * @ORM\Column(name="supplier_id", type="integer")
  69.      */
  70.     private $supplierId;
  71.     /**
  72.      * @var int
  73.      *
  74.      * @ORM\Column(name="assistant_id", type="integer", nullable=true)
  75.      */
  76.     private $assistantId;
  77.     /**
  78.      * @var int
  79.      *
  80.      * @ORM\Column(name="service_id", type="integer")
  81.      */
  82.     private $serviceId;
  83.     /**
  84.      * @var int
  85.      *
  86.      * @ORM\Column(name="service_cat_id", type="integer")
  87.      */
  88.     private $serviceCatId;
  89.     /**
  90.      * @var string
  91.      *
  92.      * @ORM\Column(name="service_cat_name", type="string", length=255)
  93.      */
  94.     private $serviceCatName;
  95.     /**
  96.      * @var string
  97.      *
  98.      * @ORM\Column(name="name", type="string", length=255)
  99.      */
  100.     private $name;
  101.     /**
  102.      * @var string
  103.      *
  104.      * @ORM\Column(name="price", type="string", length=255)
  105.      */
  106.     private $price;
  107.     /**
  108.      * @var string
  109.      *
  110.      * @ORM\Column(name="currency", type="string", length=255, nullable=true)
  111.      */
  112.     private $currency;
  113.     /**
  114.      * @var string
  115.      *
  116.      * @ORM\Column(name="units", type="string", length=255)
  117.      */
  118.     private $units;
  119.     /**
  120.      * @var string
  121.      *
  122.      * @ORM\Column(name="op_commission", type="string", length=255, nullable=true)
  123.      */
  124.     private $opCommission '0';
  125.     /**
  126.      * @var string
  127.      *
  128.      * @ORM\Column(name="commission", type="string", length=255)
  129.      */
  130.     private $commission;
  131.     /**
  132.      * @var string
  133.      *
  134.      * @ORM\Column(name="op_over", type="string", length=255, nullable=true)
  135.      */
  136.     private $opOver '0';
  137.     /**
  138.      * @var string
  139.      *
  140.      * @ORM\Column(name="price_over", type="string", length=255, nullable=true)
  141.      */
  142.     private $over;
  143.     /**
  144.      * @var string
  145.      *
  146.      * @ORM\Column(name="op_iva", type="string", length=255, nullable=true)
  147.      */
  148.     private $opIva '0';
  149.     /**
  150.      * @var string
  151.      *
  152.      * @ORM\Column(name="iva", type="string", length=255, nullable=true)
  153.      */
  154.     private $iva;
  155.     /**
  156.      * @var string
  157.      *
  158.      * @ORM\Column(name="pax", type="string", length=255)
  159.      */
  160.     private $pax;
  161.     /**
  162.      * @var string
  163.      *
  164.      * @ORM\Column(name="hour", type="string", length=255, nullable=true)
  165.      */
  166.     private $hour;
  167.     /**
  168.      * @var \DateTime
  169.      *
  170.      * @ORM\Column(name="date_in_at", type="datetime", nullable=true)
  171.      */
  172.     private $dateInAt;
  173.     /**
  174.      * @var \DateTime
  175.      *
  176.      * @ORM\Column(name="date_out_at", type="datetime", nullable=true)
  177.      */
  178.     private $dateOutAt;
  179.     /**
  180.      * @var \DateTime
  181.      *
  182.      * @ORM\Column(name="created_at", type="datetime")
  183.      */
  184.     private $createdAt;
  185.     /**
  186.      * @var int
  187.      *
  188.      * @ORM\Column(name="created_id", type="integer")
  189.      */
  190.     private $createdId;
  191.     /**
  192.      * @var \DateTime
  193.      *
  194.      * @ORM\Column(name="updated_at", type="datetime")
  195.      */
  196.     private $updatedAt;
  197.     /**
  198.      * @var int
  199.      *
  200.      * @ORM\Column(name="updated_id", type="integer")
  201.      */
  202.     private $updatedId;
  203.     /**
  204.      * @var string
  205.      *
  206.      * @ORM\Column(name="contcolor", type="string", length=255)
  207.      */
  208.     private $contcolor;
  209.     /**
  210.      * @var string
  211.      *
  212.      * @ORM\Column(name="`rank`", type="string", length=255, nullable=true)
  213.      */
  214.     private $rank;
  215.     /**
  216.      * @var string
  217.      *
  218.      * @ORM\Column(name="renovate", type="string", length=2, nullable=true)
  219.      */
  220.     private $renovate;
  221.     /**
  222.      * @ORM\Column(name="pay", type="boolean", options={"default" = 0})
  223.      */
  224.     private $pay "0";
  225.     /**
  226.      * Get id
  227.      *
  228.      * @return int
  229.      */
  230.     public function getId()
  231.     {
  232.         return $this->id;
  233.     }
  234.     /**
  235.      * Set serviceIdFather
  236.      *
  237.      * @param integer $serviceIdFather
  238.      *
  239.      * @return ProposalSupplierServicesCostsClient
  240.      */
  241.     public function setServiceIdFather($serviceIdFather)
  242.     {
  243.         $this->serviceIdFather $serviceIdFather;
  244.         return $this;
  245.     }
  246.     /**
  247.      * Get serviceIdFather
  248.      *
  249.      * @return integer
  250.      */
  251.     public function getServiceIdFather()
  252.     {
  253.         return $this->serviceIdFather;
  254.     }
  255.     /**
  256.      * Set controlId
  257.      *
  258.      * @param integer $controlId
  259.      *
  260.      * @return ProposalSupplierServicesCostsClient
  261.      */
  262.     public function setControlId($controlId)
  263.     {
  264.         $this->controlId $controlId;
  265.         return $this;
  266.     }
  267.     /**
  268.      * Get controlId
  269.      *
  270.      * @return integer
  271.      */
  272.     public function getControlId()
  273.     {
  274.         return $this->controlId;
  275.     }
  276.     /**
  277.      * Set proposalId
  278.      *
  279.      * @param integer $proposalId
  280.      *
  281.      * @return ProposalSupplierServicesCostsClient
  282.      */
  283.     public function setProposalId($proposalId)
  284.     {
  285.         $this->proposalId $proposalId;
  286.         return $this;
  287.     }
  288.     /**
  289.      * Get proposalId
  290.      *
  291.      * @return integer
  292.      */
  293.     public function getProposalId()
  294.     {
  295.         return $this->proposalId;
  296.     }
  297.     /**
  298.      * Set destinationId
  299.      *
  300.      * @param integer $destinationId
  301.      *
  302.      * @return ProposalSupplierServicesCostsClient
  303.      */
  304.     public function setDestinationId($destinationId)
  305.     {
  306.         $this->destinationId $destinationId;
  307.         return $this;
  308.     }
  309.     /**
  310.      * Get destinationId
  311.      *
  312.      * @return integer
  313.      */
  314.     public function getDestinationId()
  315.     {
  316.         return $this->destinationId;
  317.     }
  318.     /**
  319.      * Set supplierId
  320.      *
  321.      * @param integer $supplierId
  322.      *
  323.      * @return ProposalSupplierServicesCostsClient
  324.      */
  325.     public function setSupplierId($supplierId)
  326.     {
  327.         $this->supplierId $supplierId;
  328.         return $this;
  329.     }
  330.     /**
  331.      * Get supplierId
  332.      *
  333.      * @return integer
  334.      */
  335.     public function getSupplierId()
  336.     {
  337.         return $this->supplierId;
  338.     }
  339.     /**
  340.      * Set serviceId
  341.      *
  342.      * @param integer $serviceId
  343.      *
  344.      * @return ProposalSupplierServicesCostsClient
  345.      */
  346.     public function setServiceId($serviceId)
  347.     {
  348.         $this->serviceId $serviceId;
  349.         return $this;
  350.     }
  351.     /**
  352.      * Get serviceId
  353.      *
  354.      * @return integer
  355.      */
  356.     public function getServiceId()
  357.     {
  358.         return $this->serviceId;
  359.     }
  360.     /**
  361.      * Set serviceCatId
  362.      *
  363.      * @param integer $serviceCatId
  364.      *
  365.      * @return ProposalSupplierServicesCostsClient
  366.      */
  367.     public function setServiceCatId($serviceCatId)
  368.     {
  369.         $this->serviceCatId $serviceCatId;
  370.         return $this;
  371.     }
  372.     /**
  373.      * Get serviceCatId
  374.      *
  375.      * @return integer
  376.      */
  377.     public function getServiceCatId()
  378.     {
  379.         return $this->serviceCatId;
  380.     }
  381.     /**
  382.      * Set serviceCatName
  383.      *
  384.      * @param string $serviceCatName
  385.      *
  386.      * @return ProposalSupplierServicesCostsClient
  387.      */
  388.     public function setServiceCatName($serviceCatName)
  389.     {
  390.         $this->serviceCatName $serviceCatName;
  391.         return $this;
  392.     }
  393.     /**
  394.      * Get serviceCatName
  395.      *
  396.      * @return string
  397.      */
  398.     public function getServiceCatName()
  399.     {
  400.         return $this->serviceCatName;
  401.     }
  402.     /**
  403.      * Set name
  404.      *
  405.      * @param string $name
  406.      *
  407.      * @return ProposalSupplierServicesCostsClient
  408.      */
  409.     public function setName($name)
  410.     {
  411.         $this->name $name;
  412.         return $this;
  413.     }
  414.     /**
  415.      * Get name
  416.      *
  417.      * @return string
  418.      */
  419.     public function getName()
  420.     {
  421.         return $this->name;
  422.     }
  423.     /**
  424.      * Set price
  425.      *
  426.      * @param string $price
  427.      *
  428.      * @return ProposalSupplierServicesCostsClient
  429.      */
  430.     public function setPrice($price)
  431.     {
  432.         $this->price $price;
  433.         return $this;
  434.     }
  435.     /**
  436.      * Get price
  437.      *
  438.      * @return string
  439.      */
  440.     public function getPrice()
  441.     {
  442.         return $this->price;
  443.     }
  444.     /**
  445.      * Set currency
  446.      *
  447.      * @param string $currency
  448.      *
  449.      * @return ProposalSupplierServicesCostsClient
  450.      */
  451.     public function setCurrency($currency)
  452.     {
  453.         $this->currency $currency;
  454.         return $this;
  455.     }
  456.     /**
  457.      * Get currency
  458.      *
  459.      * @return string
  460.      */
  461.     public function getCurrency()
  462.     {
  463.         return $this->currency;
  464.     }
  465.     /**
  466.      * Set units
  467.      *
  468.      * @param string $units
  469.      *
  470.      * @return ProposalSupplierServicesCostsClient
  471.      */
  472.     public function setUnits($units)
  473.     {
  474.         $this->units $units;
  475.         return $this;
  476.     }
  477.     /**
  478.      * Get units
  479.      *
  480.      * @return string
  481.      */
  482.     public function getUnits()
  483.     {
  484.         return $this->units;
  485.     }
  486.     /**
  487.      * Set opCommission
  488.      *
  489.      * @param string $opCommission
  490.      *
  491.      * @return ProposalSupplierServicesCostsClient
  492.      */
  493.     public function setOpCommission($opCommission)
  494.     {
  495.         $this->opCommission $opCommission;
  496.         return $this;
  497.     }
  498.     /**
  499.      * Get opCommission
  500.      *
  501.      * @return string
  502.      */
  503.     public function getOpCommission()
  504.     {
  505.         return $this->opCommission;
  506.     }
  507.     /**
  508.      * Set commission
  509.      *
  510.      * @param string $commission
  511.      *
  512.      * @return ProposalSupplierServicesCostsClient
  513.      */
  514.     public function setCommission($commission)
  515.     {
  516.         $this->commission $commission;
  517.         return $this;
  518.     }
  519.     /**
  520.      * Get commission
  521.      *
  522.      * @return string
  523.      */
  524.     public function getCommission()
  525.     {
  526.         return $this->commission;
  527.     }
  528.     /**
  529.      * Set opOver
  530.      *
  531.      * @param string $opOver
  532.      *
  533.      * @return ProposalSupplierServicesCostsClient
  534.      */
  535.     public function setOpOver($opOver)
  536.     {
  537.         $this->opOver $opOver;
  538.         return $this;
  539.     }
  540.     /**
  541.      * Get opOver
  542.      *
  543.      * @return string
  544.      */
  545.     public function getOpOver()
  546.     {
  547.         return $this->opOver;
  548.     }
  549.     /**
  550.      * Set over
  551.      *
  552.      * @param string $over
  553.      *
  554.      * @return ProposalSupplierServicesCostsClient
  555.      */
  556.     public function setOver($over)
  557.     {
  558.         $this->over $over;
  559.         return $this;
  560.     }
  561.     /**
  562.      * Get over
  563.      *
  564.      * @return string
  565.      */
  566.     public function getOver()
  567.     {
  568.         return $this->over;
  569.     }
  570.     /**
  571.      * Set opIva
  572.      *
  573.      * @param string $opIva
  574.      *
  575.      * @return ProposalSupplierServicesCostsClient
  576.      */
  577.     public function setOpIva($opIva)
  578.     {
  579.         $this->opIva $opIva;
  580.         return $this;
  581.     }
  582.     /**
  583.      * Get opIva
  584.      *
  585.      * @return string
  586.      */
  587.     public function getOpIva()
  588.     {
  589.         return $this->opIva;
  590.     }
  591.     /**
  592.      * Set iva
  593.      *
  594.      * @param string $iva
  595.      *
  596.      * @return ProposalSupplierServicesCostsClient
  597.      */
  598.     public function setIva($iva)
  599.     {
  600.         $this->iva $iva;
  601.         return $this;
  602.     }
  603.     /**
  604.      * Get iva
  605.      *
  606.      * @return string
  607.      */
  608.     public function getIva()
  609.     {
  610.         return $this->iva;
  611.     }
  612.     /**
  613.      * Set pax
  614.      *
  615.      * @param string $pax
  616.      *
  617.      * @return ProposalSupplierServicesCostsClient
  618.      */
  619.     public function setPax($pax)
  620.     {
  621.         $this->pax $pax;
  622.         return $this;
  623.     }
  624.     /**
  625.      * Get pax
  626.      *
  627.      * @return string
  628.      */
  629.     public function getPax()
  630.     {
  631.         return $this->pax;
  632.     }
  633.     /**
  634.      * Set hour
  635.      *
  636.      * @param string $hour
  637.      *
  638.      * @return ProposalSupplierServicesCostsClient
  639.      */
  640.     public function setHour($hour)
  641.     {
  642.         $this->hour $hour;
  643.         return $this;
  644.     }
  645.     /**
  646.      * Get hour
  647.      *
  648.      * @return string
  649.      */
  650.     public function getHour()
  651.     {
  652.         return $this->hour;
  653.     }
  654.     /**
  655.      * Set dateInAt
  656.      *
  657.      * @param \DateTime $dateInAt
  658.      *
  659.      * @return ProposalSupplierServicesCostsClient
  660.      */
  661.     public function setDateInAt($dateInAt)
  662.     {
  663.         $this->dateInAt $dateInAt;
  664.         return $this;
  665.     }
  666.     /**
  667.      * Get dateInAt
  668.      *
  669.      * @return \DateTime
  670.      */
  671.     public function getDateInAt()
  672.     {
  673.         return $this->dateInAt;
  674.     }
  675.     /**
  676.      * Set dateOutAt
  677.      *
  678.      * @param \DateTime $dateOutAt
  679.      *
  680.      * @return ProposalSupplierServicesCostsClient
  681.      */
  682.     public function setDateOutAt($dateOutAt)
  683.     {
  684.         $this->dateOutAt $dateOutAt;
  685.         return $this;
  686.     }
  687.     /**
  688.      * Get dateOutAt
  689.      *
  690.      * @return \DateTime
  691.      */
  692.     public function getDateOutAt()
  693.     {
  694.         return $this->dateOutAt;
  695.     }
  696.     /**
  697.      * Set createdAt
  698.      *
  699.      * @param \DateTime $createdAt
  700.      *
  701.      * @return ProposalSupplierServicesCostsClient
  702.      */
  703.     public function setCreatedAt(\Datetime $createdAt)
  704.     {
  705.         $this->createdAt $createdAt;
  706.         return $this;
  707.     }
  708.     /**
  709.      * Get createdAt
  710.      *
  711.      * @return \DateTime
  712.      */
  713.     public function getCreatedAt()
  714.     {
  715.         return $this->createdAt;
  716.     }
  717.     /**
  718.      * Set createdId
  719.      *
  720.      * @param integer $createdId
  721.      *
  722.      * @return ProposalSupplierServicesCostsClient
  723.      */
  724.     public function setCreatedId($createdId)
  725.     {
  726.         $this->createdId $createdId;
  727.         return $this;
  728.     }
  729.     /**
  730.      * Get createdId
  731.      *
  732.      * @return integer
  733.      */
  734.     public function getCreatedId()
  735.     {
  736.         return $this->createdId;
  737.     }
  738.     /**
  739.      * Set updatedAt
  740.      *
  741.      * @param \DateTime $updatedAt
  742.      *
  743.      * @return ProposalSupplierServicesCostsClient
  744.      */
  745.     public function setUpdatedAt(\Datetime $updatedAt)
  746.     {
  747.         $this->updatedAt $updatedAt;
  748.         return $this;
  749.     }
  750.     /**
  751.      * Get updatedAt
  752.      *
  753.      * @return \DateTime
  754.      */
  755.     public function getUpdatedAt()
  756.     {
  757.         return $this->updatedAt;
  758.     }
  759.     /**
  760.      * Set updatedId
  761.      *
  762.      * @param integer $updatedId
  763.      *
  764.      * @return ProposalSupplierServicesCostsClient
  765.      */
  766.     public function setUpdatedId($updatedId)
  767.     {
  768.         $this->updatedId $updatedId;
  769.         return $this;
  770.     }
  771.     /**
  772.      * Get updatedId
  773.      *
  774.      * @return integer
  775.      */
  776.     public function getUpdatedId()
  777.     {
  778.         return $this->updatedId;
  779.     }
  780.     /**
  781.      * @ORM\PrePersist
  782.      */
  783.     public function setCreatedAtValue()
  784.     {
  785.         $this->createdAt = new \Datetime();
  786.     }
  787.     /**
  788.      * @ORM\PrePersist
  789.      * @ORM\PreUpdate
  790.      */
  791.     public function setUpdatedAtValue()
  792.     {
  793.         $this->updatedAt = new \Datetime();
  794.     }
  795.     /**
  796.      * Set contcolor
  797.      *
  798.      * @param string $contcolor
  799.      *
  800.      * @return ProposalSupplierServicesCostsClient
  801.      */
  802.     public function setContcolor($contcolor)
  803.     {
  804.         $this->contcolor $contcolor;
  805.         return $this;
  806.     }
  807.     /**
  808.      * Get contcolor
  809.      *
  810.      * @return string
  811.      */
  812.     public function getContcolor()
  813.     {
  814.         return $this->contcolor;
  815.     }
  816.     /**
  817.      * Set serviceIdProposal
  818.      *
  819.      * @param integer $serviceIdProposal
  820.      *
  821.      * @return ProposalSupplierServicesCostsClient
  822.      */
  823.     public function setServiceIdProposal($serviceIdProposal)
  824.     {
  825.         $this->serviceIdProposal $serviceIdProposal;
  826.         return $this;
  827.     }
  828.     /**
  829.      * Get serviceIdProposal
  830.      *
  831.      * @return integer
  832.      */
  833.     public function getServiceIdProposal()
  834.     {
  835.         return $this->serviceIdProposal;
  836.     }
  837.     /**
  838.      * Set rank
  839.      *
  840.      * @param string $rank
  841.      *
  842.      * @return ProposalSupplierServicesCostsClient
  843.      */
  844.     public function setRank($rank)
  845.     {
  846.         $this->rank $rank;
  847.         return $this;
  848.     }
  849.     /**
  850.      * Get rank
  851.      *
  852.      * @return string
  853.      */
  854.     public function getRank()
  855.     {
  856.         return $this->rank;
  857.     }
  858.     /**
  859.      * Set renovate
  860.      *
  861.      * @param string $renovate
  862.      *
  863.      * @return ProposalSupplierServicesCostsClient
  864.      */
  865.     public function setRenovate($renovate)
  866.     {
  867.         $this->renovate $renovate;
  868.         return $this;
  869.     }
  870.     /**
  871.      * Get renovate
  872.      *
  873.      * @return string
  874.      */
  875.     public function getRenovate()
  876.     {
  877.         return $this->renovate;
  878.     }
  879.     /**
  880.      * Set ideaId
  881.      *
  882.      * @param integer $ideaId
  883.      *
  884.      * @return ProposalSupplierServicesCostsClient
  885.      */
  886.     public function setIdeaId($ideaId)
  887.     {
  888.         $this->ideaId $ideaId;
  889.         return $this;
  890.     }
  891.     /**
  892.      * Get ideaId
  893.      *
  894.      * @return integer
  895.      */
  896.     public function getIdeaId()
  897.     {
  898.         return $this->ideaId;
  899.     }
  900.     /**
  901.      * Set assistantId
  902.      *
  903.      * @param integer $assistantId
  904.      *
  905.      * @return ProposalSupplierServicesCostsClient
  906.      */
  907.     public function setAssistantId($assistantId)
  908.     {
  909.         $this->assistantId $assistantId;
  910.         return $this;
  911.     }
  912.     /**
  913.      * Get assistantId
  914.      *
  915.      * @return integer
  916.      */
  917.     public function getAssistantId()
  918.     {
  919.         return $this->assistantId;
  920.     }
  921.     /**
  922.      * Set activityId
  923.      *
  924.      * @param integer $activityId
  925.      *
  926.      * @return ProposalSupplierServicesCostsClient
  927.      */
  928.     public function setActivityId($activityId)
  929.     {
  930.         $this->activityId $activityId;
  931.         return $this;
  932.     }
  933.     /**
  934.      * Get activityId
  935.      *
  936.      * @return integer
  937.      */
  938.     public function getActivityId()
  939.     {
  940.         return $this->activityId;
  941.     }
  942.     /**
  943.      * Set pay
  944.      *
  945.      * @param boolean $pay
  946.      *
  947.      * @return ProposalSupplierServicesCostsClient
  948.      */
  949.     public function setPay($pay)
  950.     {
  951.         $this->pay $pay;
  952.         return $this;
  953.     }
  954.     /**
  955.      * Get pay
  956.      *
  957.      * @return boolean
  958.      */
  959.     public function getPay()
  960.     {
  961.         return $this->pay;
  962.     }
  963. }