src/OfficeBrain/Bundle/OrderBundle/Entity/OrderVariationDetail.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\OrderBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * OrderVariationDetail
  6.  *
  7.  * @ORM\Table(name="tbl_order_variation_detail", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  8.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\OrderBundle\Entity\OrderVariationDetailRepository")
  9.  */
  10. class OrderVariationDetail
  11. {
  12.     /**
  13.      * @var integer
  14.      *
  15.      * @ORM\Column(name="id",type="bigint", length=20 , options={"unsigned"=true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity="OrderVariationMapping", inversedBy="orderVariationDetail")
  22.      * @ORM\JoinColumn(name="variation_mapping_id", referencedColumnName="id")
  23.      */
  24.     private $variationMappingId;
  25.     /**
  26.      * @var integer
  27.      *
  28.      * @ORM\Column(name="attribute_id", type="bigint", length=20, nullable=true, options={"unsigned"=true})
  29.      */
  30.     private $attributeId;
  31.     /**
  32.      * @var integer
  33.      *
  34.      * @ORM\Column(name="attribute_value_id", type="bigint", length=20, nullable=true, options={"unsigned"=true})
  35.      */
  36.     private $attributeValueId;
  37.     /**
  38.      * @var integer
  39.      *
  40.      * @ORM\Column(name="erp_id", type="bigint", length=20, nullable=true, options={"unsigned"=true})
  41.      */
  42.     private $erpId;
  43.     /**
  44.      * Get id
  45.      *
  46.      * @return integer 
  47.      */
  48.     public function getId()
  49.     {
  50.         return $this->id;
  51.     }
  52.     /**
  53.      * Set attributeId
  54.      *
  55.      * @param integer $attributeId
  56.      * @return OrderVariationDetail
  57.      */
  58.     public function setAttributeId($attributeId)
  59.     {
  60.         $this->attributeId $attributeId;
  61.         return $this;
  62.     }
  63.     /**
  64.      * Get attributeId
  65.      *
  66.      * @return integer 
  67.      */
  68.     public function getAttributeId()
  69.     {
  70.         return $this->attributeId;
  71.     }
  72.     /**
  73.      * Set attributeValueId
  74.      *
  75.      * @param integer $attributeValueId
  76.      * @return OrderVariationDetail
  77.      */
  78.     public function setAttributeValueId($attributeValueId)
  79.     {
  80.         $this->attributeValueId $attributeValueId;
  81.         return $this;
  82.     }
  83.     /**
  84.      * Get attributeValueId
  85.      *
  86.      * @return integer 
  87.      */
  88.     public function getAttributeValueId()
  89.     {
  90.         return $this->attributeValueId;
  91.     }
  92.     /**
  93.      * Set variationMappingId
  94.      *
  95.      * @param \App\OfficeBrain\Bundle\OrderBundle\Entity\OrderVariationMapping $variationMappingId
  96.      * @return OrderVariationDetail
  97.      */
  98.     public function setVariationMappingId(\App\OfficeBrain\Bundle\OrderBundle\Entity\OrderVariationMapping $variationMappingId null)
  99.     {
  100.         $this->variationMappingId $variationMappingId;
  101.         return $this;
  102.     }
  103.     /**
  104.      * Get variationMappingId
  105.      *
  106.      * @return \App\OfficeBrain\Bundle\OrderBundle\Entity\OrderVariationMapping 
  107.      */
  108.     public function getVariationMappingId()
  109.     {
  110.         return $this->variationMappingId;
  111.     }
  112.     /**
  113.      * Set erpId
  114.      *
  115.      * @param integer $erpId
  116.      *
  117.      * @return OrderVariationDetail
  118.      */
  119.     public function setErpId($erpId)
  120.     {
  121.         $this->erpId $erpId;
  122.         return $this;
  123.     }
  124.     /**
  125.      * Get erpId
  126.      *
  127.      * @return integer
  128.      */
  129.     public function getErpId()
  130.     {
  131.         return $this->erpId;
  132.     }
  133. }