src/OfficeBrain/Bundle/RequestQuoteBundle/Entity/RequestQuoteItemLine.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\RequestQuoteBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. /**
  6.  * RequestQuoteItemLine
  7.  *
  8. * @ORM\Table(name="tbl_request_quote_item_line", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  9.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLineRepository")
  10.  */
  11. class RequestQuoteItemLine
  12. {
  13.     /**
  14.      * @var integer
  15.      *
  16.      * @ORM\Column(name="id", type="bigint",length=20 ,options={"unsigned"=true})
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var integer
  23.      * @ORM\ManyToOne(targetEntity="RequestQuoteMaster", inversedBy="requestQuoteItemLine")  
  24.      * @ORM\JoinColumn(name="request_quote_master_id", referencedColumnName="id")
  25.      */
  26.     private $requestQuoteMasterId;
  27.     /**
  28.      * @var integer
  29.      *
  30.      * @ORM\Column(name="product_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  31.      */
  32.     private $productId;
  33.     /**
  34.      * @var integer
  35.      *
  36.      * @ORM\Column(name="culture_product_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  37.      */
  38.     private $cultureProductId;
  39.     /**
  40.      * @var integer
  41.      *
  42.      * @ORM\Column(name="line_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  43.      */
  44.     private $lineId;
  45.     /**
  46.      * @var string
  47.      *
  48.      * @ORM\Column(name="line_name", type="string", length=255, nullable=true)
  49.      */
  50.     private $lineName;
  51.     /**
  52.      * @var integer
  53.      *
  54.      * @ORM\Column(name="supplier_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  55.      */
  56.     private $supplierId;
  57.     /**
  58.      * @var string
  59.      *
  60.      * @ORM\Column(name="catalog_year", type="string", length=255, nullable=true)
  61.      */
  62.     private $catalogYear;
  63.     /**
  64.      * @var integer
  65.      *
  66.      * @ORM\Column(name="currency_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  67.      */
  68.     private $currencyId;
  69.     /**
  70.      * @var string
  71.      *
  72.      * @ORM\Column(name="currency_name", type="string", length=255, nullable=true)
  73.      */
  74.     private $currencyName;
  75.     /**
  76.      * @var string
  77.      *
  78.      * @ORM\Column(name="currency", type="string", length=255, nullable=true)
  79.      */
  80.     private $currency;
  81.     /**
  82.      * @var string
  83.      *
  84.      * @ORM\Column(name="currency_symbol", type="string", length=255, nullable=true)
  85.      */
  86.     private $currencySymbol;
  87.     /**
  88.      * @var string
  89.      *
  90.      * @ORM\Column(name="product_name", type="string", length=255, nullable=true)
  91.      */
  92.     private $productName;
  93.     /**
  94.      * @var string
  95.      *
  96.      * @ORM\Column(name="product_sku", type="string", length=255, nullable=true)
  97.      */
  98.     private $productSku;
  99.     /**
  100.      * @var string
  101.      *
  102.      * @ORM\Column(name="product_slug", type="string", length=255, nullable=true)
  103.      */
  104.     private $productSlug;
  105.     /**
  106.      * @var string
  107.      *
  108.      * @ORM\Column(name="product_thumb_image", type="string", length=255, nullable=true)
  109.      */
  110.     private $productThumbImage;
  111.     /**
  112.      * @var string
  113.      *
  114.      * @ORM\Column(name="product_image", type="string", length=255, nullable=true)
  115.      */
  116.     private $productImage;
  117.     /**
  118.      * @var string
  119.      *
  120.      * @ORM\Column(name="product_note", type="string", length=255, nullable=true)
  121.      */
  122.     private $productNote;
  123.     /**
  124.      * @var boolean
  125.      *
  126.      * @ORM\Column(name="is_send_review_link", type="boolean",options={"default" = false})
  127.      */
  128.     private $isSendReviewLink;
  129.     
  130.     /**
  131.      * @var boolean
  132.      *
  133.      * @ORM\Column(name="is_complete", type="boolean", nullable=true, options={"default"=false})
  134.      */
  135.     private $isComplete;
  136.     
  137.     /**
  138.      * @var boolean
  139.      *
  140.      * @ORM\Column(name="order_type", type="string", length=255, nullable=true)
  141.      */
  142.     private $orderType;
  143.     
  144.     /**
  145.      * @var boolean
  146.      *
  147.      * @ORM\Column(name="is_feedback_posted", type="boolean",options={"default" = false})
  148.      */
  149.     private $isFeedbackPosted;
  150.     /**
  151.      * @ORM\OneToOne(targetEntity="RequestQuoteProductSupplier", mappedBy="requestQuoteItemLineId")
  152.      */
  153.     private $requestQuoteProductSupplier;
  154.     
  155.     /**
  156.      * @ORM\OneToMany(targetEntity="RequestQuoteProduct", mappedBy="requestQuoteItemLineId")
  157.      */
  158.     private $requestQuoteProduct;
  159.     
  160.     /**
  161.      * @ORM\OneToMany(targetEntity="RequestQuoteProductImprintArea", mappedBy="requestQuoteItemLineId")
  162.      */
  163.     private $requestQuoteProductImprintArea;
  164.     /**
  165.      * @ORM\OneToMany(targetEntity="RequestQuoteProductCharges", mappedBy="requestQuoteItemLineId")
  166.      */
  167.     private $requestQuoteProductCharges;
  168.     
  169.     
  170.     public function __construct() {
  171.         $this -> requestQuoteProduct = new ArrayCollection();
  172.         $this -> requestQuoteProductImprintArea = new ArrayCollection();
  173.         $this -> requestQuoteProductCharges = new ArrayCollection();
  174.          
  175.     }
  176.     /**
  177.      * Get id
  178.      *
  179.      * @return integer 
  180.      */
  181.     public function getId()
  182.     {
  183.         return $this->id;
  184.     }
  185.     /**
  186.      * Set productId
  187.      *
  188.      * @param integer $productId
  189.      * @return RequestQuoteItemLine
  190.      */
  191.     public function setProductId($productId)
  192.     {
  193.         $this->productId $productId;
  194.         return $this;
  195.     }
  196.     /**
  197.      * Get productId
  198.      *
  199.      * @return integer 
  200.      */
  201.     public function getProductId()
  202.     {
  203.         return $this->productId;
  204.     }
  205.     /**
  206.      * Set cultureProductId
  207.      *
  208.      * @param integer $cultureProductId
  209.      * @return RequestQuoteItemLine
  210.      */
  211.     public function setCultureProductId($cultureProductId)
  212.     {
  213.         $this->cultureProductId $cultureProductId;
  214.         return $this;
  215.     }
  216.     /**
  217.      * Get cultureProductId
  218.      *
  219.      * @return integer 
  220.      */
  221.     public function getCultureProductId()
  222.     {
  223.         return $this->cultureProductId;
  224.     }
  225.     /**
  226.      * Set lineId
  227.      *
  228.      * @param integer $lineId
  229.      * @return RequestQuoteItemLine
  230.      */
  231.     public function setLineId($lineId)
  232.     {
  233.         $this->lineId $lineId;
  234.         return $this;
  235.     }
  236.     /**
  237.      * Get lineId
  238.      *
  239.      * @return integer 
  240.      */
  241.     public function getLineId()
  242.     {
  243.         return $this->lineId;
  244.     }
  245.     /**
  246.      * Set lineName
  247.      *
  248.      * @param string $lineName
  249.      * @return RequestQuoteItemLine
  250.      */
  251.     public function setLineName($lineName)
  252.     {
  253.         $this->lineName $lineName;
  254.         return $this;
  255.     }
  256.     /**
  257.      * Get lineName
  258.      *
  259.      * @return string 
  260.      */
  261.     public function getLineName()
  262.     {
  263.         return $this->lineName;
  264.     }
  265.     /**
  266.      * Set supplierId
  267.      *
  268.      * @param integer $supplierId
  269.      * @return RequestQuoteItemLine
  270.      */
  271.     public function setSupplierId($supplierId)
  272.     {
  273.         $this->supplierId $supplierId;
  274.         return $this;
  275.     }
  276.     /**
  277.      * Get supplierId
  278.      *
  279.      * @return integer 
  280.      */
  281.     public function getSupplierId()
  282.     {
  283.         return $this->supplierId;
  284.     }
  285.     /**
  286.      * Set catalogYear
  287.      *
  288.      * @param string $catalogYear
  289.      * @return RequestQuoteItemLine
  290.      */
  291.     public function setCatalogYear($catalogYear)
  292.     {
  293.         $this->catalogYear $catalogYear;
  294.         return $this;
  295.     }
  296.     /**
  297.      * Get catalogYear
  298.      *
  299.      * @return string 
  300.      */
  301.     public function getCatalogYear()
  302.     {
  303.         return $this->catalogYear;
  304.     }
  305.     /**
  306.      * Set currencyId
  307.      *
  308.      * @param integer $currencyId
  309.      * @return RequestQuoteItemLine
  310.      */
  311.     public function setCurrencyId($currencyId)
  312.     {
  313.         $this->currencyId $currencyId;
  314.         return $this;
  315.     }
  316.     /**
  317.      * Get currencyId
  318.      *
  319.      * @return integer 
  320.      */
  321.     public function getCurrencyId()
  322.     {
  323.         return $this->currencyId;
  324.     }
  325.     /**
  326.      * Set currencyName
  327.      *
  328.      * @param string $currencyName
  329.      * @return RequestQuoteItemLine
  330.      */
  331.     public function setCurrencyName($currencyName)
  332.     {
  333.         $this->currencyName $currencyName;
  334.         return $this;
  335.     }
  336.     /**
  337.      * Get currencyName
  338.      *
  339.      * @return string 
  340.      */
  341.     public function getCurrencyName()
  342.     {
  343.         return $this->currencyName;
  344.     }
  345.     /**
  346.      * Set currency
  347.      *
  348.      * @param string $currency
  349.      * @return RequestQuoteItemLine
  350.      */
  351.     public function setCurrency($currency)
  352.     {
  353.         $this->currency $currency;
  354.         return $this;
  355.     }
  356.     /**
  357.      * Get currency
  358.      *
  359.      * @return string 
  360.      */
  361.     public function getCurrency()
  362.     {
  363.         return $this->currency;
  364.     }
  365.     /**
  366.      * Set currencySymbol
  367.      *
  368.      * @param string $currencySymbol
  369.      * @return RequestQuoteItemLine
  370.      */
  371.     public function setCurrencySymbol($currencySymbol)
  372.     {
  373.         $this->currencySymbol $currencySymbol;
  374.         return $this;
  375.     }
  376.     /**
  377.      * Get currencySymbol
  378.      *
  379.      * @return string 
  380.      */
  381.     public function getCurrencySymbol()
  382.     {
  383.         return $this->currencySymbol;
  384.     }
  385.     /**
  386.      * Set productName
  387.      *
  388.      * @param string $productName
  389.      * @return RequestQuoteItemLine
  390.      */
  391.     public function setProductName($productName)
  392.     {
  393.         $this->productName $productName;
  394.         return $this;
  395.     }
  396.     /**
  397.      * Get productName
  398.      *
  399.      * @return string 
  400.      */
  401.     public function getProductName()
  402.     {
  403.         return $this->productName;
  404.     }
  405.     /**
  406.      * Set productSku
  407.      *
  408.      * @param string $productSku
  409.      * @return RequestQuoteItemLine
  410.      */
  411.     public function setProductSku($productSku)
  412.     {
  413.         $this->productSku $productSku;
  414.         return $this;
  415.     }
  416.     /**
  417.      * Get productSku
  418.      *
  419.      * @return string 
  420.      */
  421.     public function getProductSku()
  422.     {
  423.         return $this->productSku;
  424.     }
  425.     /**
  426.      * Set productSlug
  427.      *
  428.      * @param string $productSlug
  429.      * @return RequestQuoteItemLine
  430.      */
  431.     public function setProductSlug($productSlug)
  432.     {
  433.         $this->productSlug $productSlug;
  434.         return $this;
  435.     }
  436.     /**
  437.      * Get productSlug
  438.      *
  439.      * @return string 
  440.      */
  441.     public function getProductSlug()
  442.     {
  443.         return $this->productSlug;
  444.     }
  445.     /**
  446.      * Set productThumbImage
  447.      *
  448.      * @param string $productThumbImage
  449.      * @return RequestQuoteItemLine
  450.      */
  451.     public function setProductThumbImage($productThumbImage)
  452.     {
  453.         $this->productThumbImage $productThumbImage;
  454.         return $this;
  455.     }
  456.     /**
  457.      * Get productThumbImage
  458.      *
  459.      * @return string 
  460.      */
  461.     public function getProductThumbImage()
  462.     {
  463.         return $this->productThumbImage;
  464.     }
  465.     /**
  466.      * Set productImage
  467.      *
  468.      * @param string $productImage
  469.      * @return RequestQuoteItemLine
  470.      */
  471.     public function setProductImage($productImage)
  472.     {
  473.         $this->productImage $productImage;
  474.         return $this;
  475.     }
  476.     /**
  477.      * Get productImage
  478.      *
  479.      * @return string 
  480.      */
  481.     public function getProductImage()
  482.     {
  483.         return $this->productImage;
  484.     }
  485.     /**
  486.      * Set productNote
  487.      *
  488.      * @param string $productNote
  489.      * @return RequestQuoteItemLine
  490.      */
  491.     public function setProductNote($productNote)
  492.     {
  493.         $this->productNote $productNote;
  494.         return $this;
  495.     }
  496.     /**
  497.      * Get productNote
  498.      *
  499.      * @return string 
  500.      */
  501.     public function getProductNote()
  502.     {
  503.         return $this->productNote;
  504.     }
  505.     /**
  506.      * Set isSendReviewLink
  507.      *
  508.      * @param boolean $isSendReviewLink
  509.      * @return RequestQuoteItemLine
  510.      */
  511.     public function setIsSendReviewLink($isSendReviewLink)
  512.     {
  513.         $this->isSendReviewLink $isSendReviewLink;
  514.         return $this;
  515.     }
  516.     /**
  517.      * Get isSendReviewLink
  518.      *
  519.      * @return boolean 
  520.      */
  521.     public function getIsSendReviewLink()
  522.     {
  523.         return $this->isSendReviewLink;
  524.     }
  525.     /**
  526.      * Set isComplete
  527.      *
  528.      * @param boolean $isComplete
  529.      * @return RequestQuoteItemLine
  530.      */
  531.     public function setIsComplete($isComplete)
  532.     {
  533.         $this->isComplete $isComplete;
  534.         return $this;
  535.     }
  536.     /**
  537.      * Get isComplete
  538.      *
  539.      * @return boolean 
  540.      */
  541.     public function getIsComplete()
  542.     {
  543.         return $this->isComplete;
  544.     }
  545.     /**
  546.      * Set orderType
  547.      *
  548.      * @param string $orderType
  549.      * @return RequestQuoteItemLine
  550.      */
  551.     public function setOrderType($orderType)
  552.     {
  553.         $this->orderType $orderType;
  554.         return $this;
  555.     }
  556.     /**
  557.      * Get orderType
  558.      *
  559.      * @return string 
  560.      */
  561.     public function getOrderType()
  562.     {
  563.         return $this->orderType;
  564.     }
  565.     /**
  566.      * Set isFeedbackPosted
  567.      *
  568.      * @param boolean $isFeedbackPosted
  569.      * @return RequestQuoteItemLine
  570.      */
  571.     public function setIsFeedbackPosted($isFeedbackPosted)
  572.     {
  573.         $this->isFeedbackPosted $isFeedbackPosted;
  574.         return $this;
  575.     }
  576.     /**
  577.      * Get isFeedbackPosted
  578.      *
  579.      * @return boolean 
  580.      */
  581.     public function getIsFeedbackPosted()
  582.     {
  583.         return $this->isFeedbackPosted;
  584.     }
  585.     /**
  586.      * Set requestQuoteMasterId
  587.      *
  588.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteMaster $requestQuoteMasterId
  589.      * @return RequestQuoteItemLine
  590.      */
  591.     public function setRequestQuoteMasterId(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteMaster $requestQuoteMasterId null)
  592.     {
  593.         $this->requestQuoteMasterId $requestQuoteMasterId;
  594.         return $this;
  595.     }
  596.     /**
  597.      * Get requestQuoteMasterId
  598.      *
  599.      * @return \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteMaster 
  600.      */
  601.     public function getRequestQuoteMasterId()
  602.     {
  603.         return $this->requestQuoteMasterId;
  604.     }
  605.     /**
  606.      * Set requestQuoteProductSupplier
  607.      *
  608.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductSupplier $requestQuoteProductSupplier
  609.      * @return RequestQuoteItemLine
  610.      */
  611.     public function setRequestQuoteProductSupplier(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductSupplier $requestQuoteProductSupplier null)
  612.     {
  613.         $this->requestQuoteProductSupplier $requestQuoteProductSupplier;
  614.         return $this;
  615.     }
  616.     /**
  617.      * Get requestQuoteProductSupplier
  618.      *
  619.      * @return \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductSupplier 
  620.      */
  621.     public function getRequestQuoteProductSupplier()
  622.     {
  623.         return $this->requestQuoteProductSupplier;
  624.     }
  625.     /**
  626.      * Add requestQuoteProduct
  627.      *
  628.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProduct $requestQuoteProduct
  629.      * @return RequestQuoteItemLine
  630.      */
  631.     public function addRequestQuoteProduct(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProduct $requestQuoteProduct)
  632.     {
  633.         $this->requestQuoteProduct[] = $requestQuoteProduct;
  634.         return $this;
  635.     }
  636.     /**
  637.      * Remove requestQuoteProduct
  638.      *
  639.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProduct $requestQuoteProduct
  640.      */
  641.     public function removeRequestQuoteProduct(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProduct $requestQuoteProduct)
  642.     {
  643.         $this->requestQuoteProduct->removeElement($requestQuoteProduct);
  644.     }
  645.     /**
  646.      * Get requestQuoteProduct
  647.      *
  648.      * @return \Doctrine\Common\Collections\Collection 
  649.      */
  650.     public function getRequestQuoteProduct()
  651.     {
  652.         return $this->requestQuoteProduct;
  653.     }
  654.     /**
  655.      * Add requestQuoteProductImprintArea
  656.      *
  657.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintArea $requestQuoteProductImprintArea
  658.      * @return RequestQuoteItemLine
  659.      */
  660.     public function addRequestQuoteProductImprintArea(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintArea $requestQuoteProductImprintArea)
  661.     {
  662.         $this->requestQuoteProductImprintArea[] = $requestQuoteProductImprintArea;
  663.         return $this;
  664.     }
  665.     /**
  666.      * Remove requestQuoteProductImprintArea
  667.      *
  668.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintArea $requestQuoteProductImprintArea
  669.      */
  670.     public function removeRequestQuoteProductImprintArea(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintArea $requestQuoteProductImprintArea)
  671.     {
  672.         $this->requestQuoteProductImprintArea->removeElement($requestQuoteProductImprintArea);
  673.     }
  674.     /**
  675.      * Get requestQuoteProductImprintArea
  676.      *
  677.      * @return \Doctrine\Common\Collections\Collection 
  678.      */
  679.     public function getRequestQuoteProductImprintArea()
  680.     {
  681.         return $this->requestQuoteProductImprintArea;
  682.     }
  683.     /**
  684.      * Add requestQuoteProductCharges
  685.      *
  686.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductCharges $requestQuoteProductCharges
  687.      * @return RequestQuoteItemLine
  688.      */
  689.     public function addRequestQuoteProductCharge(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductCharges $requestQuoteProductCharges)
  690.     {
  691.         $this->requestQuoteProductCharges[] = $requestQuoteProductCharges;
  692.         return $this;
  693.     }
  694.     /**
  695.      * Remove requestQuoteProductCharges
  696.      *
  697.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductCharges $requestQuoteProductCharges
  698.      */
  699.     public function removeRequestQuoteProductCharge(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductCharges $requestQuoteProductCharges)
  700.     {
  701.         $this->requestQuoteProductCharges->removeElement($requestQuoteProductCharges);
  702.     }
  703.     /**
  704.      * Get requestQuoteProductCharges
  705.      *
  706.      * @return \Doctrine\Common\Collections\Collection 
  707.      */
  708.     public function getRequestQuoteProductCharges()
  709.     {
  710.         return $this->requestQuoteProductCharges;
  711.     }
  712. }