src/OfficeBrain/Bundle/RequestQuoteBundle/Entity/RequestQuoteVariationDetail.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.  * RequestQuoteVariationDetail
  8.  *
  9.  * @ORM\Table("tbl_request_quote_variation_detail", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  10.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteVariationDetailRepository")
  11.  */
  12. class RequestQuoteVariationDetail
  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="RequestQuoteVariationMapping", inversedBy="requestQuoteVariationDetail")
  25.      * @ORM\JoinColumn(name="variation_mapping_id", referencedColumnName="id")
  26.      */
  27.     private $variationMappingId;
  28.     /**
  29.      * @var integer
  30.      *
  31.      * @ORM\Column(name="attribute_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  32.      */
  33.     private $attributeId;
  34.     /**
  35.      * @var integer
  36.      *
  37.      * @ORM\Column(name="attribute_value_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  38.      */
  39.     private $attributeValueId;
  40.     /**
  41.      * Get id
  42.      *
  43.      * @return integer 
  44.      */
  45.     public function getId()
  46.     {
  47.         return $this->id;
  48.     }
  49.     /**
  50.      * Set variationMappingId
  51.      *
  52.      * @param integer $variationMappingId
  53.      * @return RequestQuoteVariationDetail
  54.      */
  55.     public function setVariationMappingId($variationMappingId)
  56.     {
  57.         $this->variationMappingId $variationMappingId;
  58.         return $this;
  59.     }
  60.     /**
  61.      * Get variationMappingId
  62.      *
  63.      * @return integer 
  64.      */
  65.     public function getVariationMappingId()
  66.     {
  67.         return $this->variationMappingId;
  68.     }
  69.     /**
  70.      * Set attributeId
  71.      *
  72.      * @param integer $attributeId
  73.      * @return RequestQuoteVariationDetail
  74.      */
  75.     public function setAttributeId($attributeId)
  76.     {
  77.         $this->attributeId $attributeId;
  78.         return $this;
  79.     }
  80.     /**
  81.      * Get attributeId
  82.      *
  83.      * @return integer 
  84.      */
  85.     public function getAttributeId()
  86.     {
  87.         return $this->attributeId;
  88.     }
  89.     /**
  90.      * Set attributeValueId
  91.      *
  92.      * @param integer $attributeValueId
  93.      * @return RequestQuoteVariationDetail
  94.      */
  95.     public function setAttributeValueId($attributeValueId)
  96.     {
  97.         $this->attributeValueId $attributeValueId;
  98.         return $this;
  99.     }
  100.     /**
  101.      * Get attributeValueId
  102.      *
  103.      * @return integer 
  104.      */
  105.     public function getAttributeValueId()
  106.     {
  107.         return $this->attributeValueId;
  108.     }
  109. }