src/OfficeBrain/Bundle/RequestQuoteBundle/Entity/RequestQuoteProductImprintColor.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.  * RequestQuoteProductImprintColor
  8.  *
  9.  * @ORM\Table("tbl_request_quote_product_imprint_color", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  10.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintColorRepository")
  11.  */
  12. class RequestQuoteProductImprintColor
  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.      * @ORM\ManyToOne(targetEntity="RequestQuoteProductImprintArea", inversedBy="requestQuoteProductImprintColor")  
  25.      * @ORM\JoinColumn(name="imprint_area_request_id", referencedColumnName="id")
  26.      */
  27.     private $imprintAreaRequestId;
  28.     /**
  29.      * @var boolean
  30.      *
  31.      * @ORM\Column(name="is_pms_color", type="boolean",options={"default" = false})
  32.      */
  33.     private $isPmsColor;
  34.     /**
  35.      * @var string
  36.      *
  37.      * @ORM\Column(name="color_code", type="string", length=255, nullable=true)
  38.      */
  39.     private $colorCode;
  40.     /**
  41.      * @var integer
  42.      *
  43.      * @ORM\Column(name="color_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  44.      */
  45.     private $colorId;
  46.     /**
  47.      * @var string
  48.      *
  49.      * @ORM\Column(name="price", type="decimal",precision=11, scale=2, options={"default" = 0})
  50.      */
  51.     private $price;
  52.     /**
  53.      * Get id
  54.      *
  55.      * @return integer 
  56.      */
  57.     public function getId()
  58.     {
  59.         return $this->id;
  60.     }
  61.     /**
  62.      * Set imprintAreaRequestId
  63.      *
  64.      * @param integer $imprintAreaRequestId
  65.      * @return RequestQuoteProductImprintColor
  66.      */
  67.     public function setImprintAreaRequestId($imprintAreaRequestId)
  68.     {
  69.         $this->imprintAreaRequestId $imprintAreaRequestId;
  70.         return $this;
  71.     }
  72.     /**
  73.      * Get imprintAreaRequestId
  74.      *
  75.      * @return integer 
  76.      */
  77.     public function getImprintAreaRequestId()
  78.     {
  79.         return $this->imprintAreaRequestId;
  80.     }
  81.     /**
  82.      * Set isPmsColor
  83.      *
  84.      * @param boolean $isPmsColor
  85.      * @return RequestQuoteProductImprintColor
  86.      */
  87.     public function setIsPmsColor($isPmsColor)
  88.     {
  89.         $this->isPmsColor $isPmsColor;
  90.         return $this;
  91.     }
  92.     /**
  93.      * Get isPmsColor
  94.      *
  95.      * @return boolean 
  96.      */
  97.     public function getIsPmsColor()
  98.     {
  99.         return $this->isPmsColor;
  100.     }
  101.     /**
  102.      * Set colorCode
  103.      *
  104.      * @param string $colorCode
  105.      * @return RequestQuoteProductImprintColor
  106.      */
  107.     public function setColorCode($colorCode)
  108.     {
  109.         $this->colorCode $colorCode;
  110.         return $this;
  111.     }
  112.     /**
  113.      * Get colorCode
  114.      *
  115.      * @return string 
  116.      */
  117.     public function getColorCode()
  118.     {
  119.         return $this->colorCode;
  120.     }
  121.     /**
  122.      * Set colorId
  123.      *
  124.      * @param integer $colorId
  125.      * @return RequestQuoteProductImprintColor
  126.      */
  127.     public function setColorId($colorId)
  128.     {
  129.         $this->colorId $colorId;
  130.         return $this;
  131.     }
  132.     /**
  133.      * Get colorId
  134.      *
  135.      * @return integer 
  136.      */
  137.     public function getColorId()
  138.     {
  139.         return $this->colorId;
  140.     }
  141.     /**
  142.      * Set price
  143.      *
  144.      * @param string $price
  145.      * @return RequestQuoteProductImprintColor
  146.      */
  147.     public function setPrice($price)
  148.     {
  149.         $this->price $price;
  150.         return $this;
  151.     }
  152.     /**
  153.      * Get price
  154.      *
  155.      * @return string 
  156.      */
  157.     public function getPrice()
  158.     {
  159.         return $this->price;
  160.     }
  161. }