<?php
namespace App\OfficeBrain\Bundle\OrderBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* OrderVariationDetail
*
* @ORM\Table(name="tbl_order_variation_detail", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
* @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\OrderBundle\Entity\OrderVariationDetailRepository")
*/
class OrderVariationDetail
{
/**
* @var integer
*
* @ORM\Column(name="id",type="bigint", length=20 , options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity="OrderVariationMapping", inversedBy="orderVariationDetail")
* @ORM\JoinColumn(name="variation_mapping_id", referencedColumnName="id")
*/
private $variationMappingId;
/**
* @var integer
*
* @ORM\Column(name="attribute_id", type="bigint", length=20, nullable=true, options={"unsigned"=true})
*/
private $attributeId;
/**
* @var integer
*
* @ORM\Column(name="attribute_value_id", type="bigint", length=20, nullable=true, options={"unsigned"=true})
*/
private $attributeValueId;
/**
* @var integer
*
* @ORM\Column(name="erp_id", type="bigint", length=20, nullable=true, options={"unsigned"=true})
*/
private $erpId;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set attributeId
*
* @param integer $attributeId
* @return OrderVariationDetail
*/
public function setAttributeId($attributeId)
{
$this->attributeId = $attributeId;
return $this;
}
/**
* Get attributeId
*
* @return integer
*/
public function getAttributeId()
{
return $this->attributeId;
}
/**
* Set attributeValueId
*
* @param integer $attributeValueId
* @return OrderVariationDetail
*/
public function setAttributeValueId($attributeValueId)
{
$this->attributeValueId = $attributeValueId;
return $this;
}
/**
* Get attributeValueId
*
* @return integer
*/
public function getAttributeValueId()
{
return $this->attributeValueId;
}
/**
* Set variationMappingId
*
* @param \App\OfficeBrain\Bundle\OrderBundle\Entity\OrderVariationMapping $variationMappingId
* @return OrderVariationDetail
*/
public function setVariationMappingId(\App\OfficeBrain\Bundle\OrderBundle\Entity\OrderVariationMapping $variationMappingId = null)
{
$this->variationMappingId = $variationMappingId;
return $this;
}
/**
* Get variationMappingId
*
* @return \App\OfficeBrain\Bundle\OrderBundle\Entity\OrderVariationMapping
*/
public function getVariationMappingId()
{
return $this->variationMappingId;
}
/**
* Set erpId
*
* @param integer $erpId
*
* @return OrderVariationDetail
*/
public function setErpId($erpId)
{
$this->erpId = $erpId;
return $this;
}
/**
* Get erpId
*
* @return integer
*/
public function getErpId()
{
return $this->erpId;
}
}