src/OfficeBrain/Bundle/RequestQuoteBundle/Entity/RequestQuoteProductImprintArea.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\RequestQuoteBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. /**
  7.  * RequestQuoteProductImprintArea
  8.  *
  9.  * @ORM\Table("tbl_request_quote_product_imprint_area", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  10.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintAreaRepository")
  11.  */
  12. class RequestQuoteProductImprintArea
  13. {
  14.     /**
  15.      * @var integer
  16.      *
  17.      * @ORM\Column(name="id", type="bigint",length=20 ,options={"unsigned"=true})
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var integer
  24.      *
  25.      * @ORM\ManyToOne(targetEntity="RequestQuoteItemLine", inversedBy="requestQuoteProductImprintArea")  
  26.      * @ORM\JoinColumn(name="request_quote_item_line_id", referencedColumnName="id")
  27.      */
  28.     private $requestQuoteItemLineId;
  29.     /**
  30.      * @var integer
  31.      *
  32.      * @ORM\Column(name="imprint_area_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  33.      */
  34.     private $imprintAreaId;
  35.     /**
  36.      * @var integer
  37.      *
  38.      * @ORM\Column(name="imprint_area_method_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  39.      */
  40.     private $imprintAreaMethodId;
  41.     /**
  42.      * @var integer
  43.      *
  44.      * @ORM\Column(name="imprint_area_noof_color", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  45.      */
  46.     private $imprintAreaNoofColor;
  47.     /**
  48.      * @ORM\OneToMany(targetEntity="RequestQuoteProductImprintColor", mappedBy="imprintAreaRequestId")
  49.      */
  50.     private $requestQuoteProductImprintColor;
  51.     /**
  52.      * @ORM\OneToMany(targetEntity="RequestQuoteProductImprintTextArtwork", mappedBy="imprintAreaRequestId")
  53.      */
  54.     private $requestQuoteProductImprintTextArtwork;
  55.     
  56.     public function __construct() {
  57.         $this -> requestQuoteProductImprintColor = new ArrayCollection();
  58.         $this -> requestQuoteProductImprintTextArtwork = new ArrayCollection();
  59.     }
  60.     /**
  61.      * Get id
  62.      *
  63.      * @return integer 
  64.      */
  65.     public function getId()
  66.     {
  67.         return $this->id;
  68.     }
  69.     /**
  70.      * Set requestQuoteItemLineId
  71.      *
  72.      * @param integer $requestQuoteItemLineId
  73.      * @return RequestQuoteProductImprintArea
  74.      */
  75.     public function setRequestQuoteItemLineId($requestQuoteItemLineId)
  76.     {
  77.         $this->requestQuoteItemLineId $requestQuoteItemLineId;
  78.         return $this;
  79.     }
  80.     /**
  81.      * Get requestQuoteItemLineId
  82.      *
  83.      * @return integer 
  84.      */
  85.     public function getRequestQuoteItemLineId()
  86.     {
  87.         return $this->requestQuoteItemLineId;
  88.     }
  89.     /**
  90.      * Set imprintAreaId
  91.      *
  92.      * @param integer $imprintAreaId
  93.      * @return RequestQuoteProductImprintArea
  94.      */
  95.     public function setImprintAreaId($imprintAreaId)
  96.     {
  97.         $this->imprintAreaId $imprintAreaId;
  98.         return $this;
  99.     }
  100.     /**
  101.      * Get imprintAreaId
  102.      *
  103.      * @return integer 
  104.      */
  105.     public function getImprintAreaId()
  106.     {
  107.         return $this->imprintAreaId;
  108.     }
  109.     /**
  110.      * Set imprintAreaMethodId
  111.      *
  112.      * @param integer $imprintAreaMethodId
  113.      * @return RequestQuoteProductImprintArea
  114.      */
  115.     public function setImprintAreaMethodId($imprintAreaMethodId)
  116.     {
  117.         $this->imprintAreaMethodId $imprintAreaMethodId;
  118.         return $this;
  119.     }
  120.     /**
  121.      * Get imprintAreaMethodId
  122.      *
  123.      * @return integer 
  124.      */
  125.     public function getImprintAreaMethodId()
  126.     {
  127.         return $this->imprintAreaMethodId;
  128.     }
  129.     /**
  130.      * Set imprintAreaNoofColor
  131.      *
  132.      * @param integer $imprintAreaNoofColor
  133.      * @return RequestQuoteProductImprintArea
  134.      */
  135.     public function setImprintAreaNoofColor($imprintAreaNoofColor)
  136.     {
  137.         $this->imprintAreaNoofColor $imprintAreaNoofColor;
  138.         return $this;
  139.     }
  140.     /**
  141.      * Get imprintAreaNoofColor
  142.      *
  143.      * @return integer 
  144.      */
  145.     public function getImprintAreaNoofColor()
  146.     {
  147.         return $this->imprintAreaNoofColor;
  148.     }
  149.     /**
  150.      * Add requestQuoteProductImprintColor
  151.      *
  152.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintColor $requestQuoteProductImprintColor
  153.      * @return RequestQuoteProductImprintArea
  154.      */
  155.     public function addRequestQuoteProductImprintColor(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintColor $requestQuoteProductImprintColor)
  156.     {
  157.         $this->requestQuoteProductImprintColor[] = $requestQuoteProductImprintColor;
  158.         return $this;
  159.     }
  160.     /**
  161.      * Remove requestQuoteProductImprintColor
  162.      *
  163.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintColor $requestQuoteProductImprintColor
  164.      */
  165.     public function removeRequestQuoteProductImprintColor(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintColor $requestQuoteProductImprintColor)
  166.     {
  167.         $this->requestQuoteProductImprintColor->removeElement($requestQuoteProductImprintColor);
  168.     }
  169.     /**
  170.      * Get requestQuoteProductImprintColor
  171.      *
  172.      * @return \Doctrine\Common\Collections\Collection 
  173.      */
  174.     public function getRequestQuoteProductImprintColor()
  175.     {
  176.         return $this->requestQuoteProductImprintColor;
  177.     }
  178.     /**
  179.      * Add requestQuoteProductImprintTextArtwork
  180.      *
  181.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintTextArtwork $requestQuoteProductImprintTextArtwork
  182.      * @return RequestQuoteProductImprintArea
  183.      */
  184.     public function addRequestQuoteProductImprintTextArtwork(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintTextArtwork $requestQuoteProductImprintTextArtwork)
  185.     {
  186.         $this->requestQuoteProductImprintTextArtwork[] = $requestQuoteProductImprintTextArtwork;
  187.         return $this;
  188.     }
  189.     /**
  190.      * Remove requestQuoteProductImprintTextArtwork
  191.      *
  192.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintTextArtwork $requestQuoteProductImprintTextArtwork
  193.      */
  194.     public function removeRequestQuoteProductImprintTextArtwork(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintTextArtwork $requestQuoteProductImprintTextArtwork)
  195.     {
  196.         $this->requestQuoteProductImprintTextArtwork->removeElement($requestQuoteProductImprintTextArtwork);
  197.     }
  198.     /**
  199.      * Get requestQuoteProductImprintTextArtwork
  200.      *
  201.      * @return \Doctrine\Common\Collections\Collection 
  202.      */
  203.     public function getRequestQuoteProductImprintTextArtwork()
  204.     {
  205.         return $this->requestQuoteProductImprintTextArtwork;
  206.     }
  207. }