<?php

namespace OfficeBrain\Bundle\RequestQuoteBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\Common\Collections\ArrayCollection;

/**
 * RequestQuoteProductImprintColor
 *
 * @ORM\Table("tbl_request_quote_product_imprint_color", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
 * @ORM\Entity(repositoryClass="OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductImprintColorRepository")
 */
class RequestQuoteProductImprintColor
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id",type="bigint",length=20 ,options={"unsigned"=true})
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var integer
     * @ORM\ManyToOne(targetEntity="RequestQuoteProductImprintArea", inversedBy="requestQuoteProductImprintColor")  
     * @ORM\JoinColumn(name="imprint_area_request_id", referencedColumnName="id")
     */
    private $imprintAreaRequestId;

    /**
     * @var boolean
     *
     * @ORM\Column(name="is_pms_color", type="boolean",options={"default" = false})
     */
    private $isPmsColor;

    /**
     * @var string
     *
     * @ORM\Column(name="color_code", type="string", length=255, nullable=true)
     */
    private $colorCode;

    /**
     * @var string
     *
     * @ORM\Column(name="color_id", type="string",length=255, nullable=true)
     */
    private $colorId;

    /**
     * @var string
     *
     * @ORM\Column(name="price", type="decimal",precision=11, scale=2, options={"default" = 0})
     */
    private $price;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set imprintAreaRequestId
     *
     * @param integer $imprintAreaRequestId
     * @return RequestQuoteProductImprintColor
     */
    public function setImprintAreaRequestId($imprintAreaRequestId)
    {
        $this->imprintAreaRequestId = $imprintAreaRequestId;

        return $this;
    }

    /**
     * Get imprintAreaRequestId
     *
     * @return integer 
     */
    public function getImprintAreaRequestId()
    {
        return $this->imprintAreaRequestId;
    }

    /**
     * Set isPmsColor
     *
     * @param boolean $isPmsColor
     * @return RequestQuoteProductImprintColor
     */
    public function setIsPmsColor($isPmsColor)
    {
        $this->isPmsColor = $isPmsColor;

        return $this;
    }

    /**
     * Get isPmsColor
     *
     * @return boolean 
     */
    public function getIsPmsColor()
    {
        return $this->isPmsColor;
    }

    /**
     * Set colorCode
     *
     * @param string $colorCode
     * @return RequestQuoteProductImprintColor
     */
    public function setColorCode($colorCode)
    {
        $this->colorCode = $colorCode;

        return $this;
    }

    /**
     * Get colorCode
     *
     * @return string 
     */
    public function getColorCode()
    {
        return $this->colorCode;
    }

    /**
     * Set colorId
     *
     * @param string $colorId
     * @return RequestQuoteProductImprintColor
     */
    public function setColorId($colorId)
    {
        $this->colorId = $colorId;

        return $this;
    }

    /**
     * Get colorId
     *
     * @return string 
     */
    public function getColorId()
    {
        return $this->colorId;
    }

    /**
     * Set price
     *
     * @param string $price
     * @return RequestQuoteProductImprintColor
     */
    public function setPrice($price)
    {
        $this->price = $price;

        return $this;
    }

    /**
     * Get price
     *
     * @return string 
     */
    public function getPrice()
    {
        return $this->price;
    }
}
