<?php
namespace App\OfficeBrain\Bundle\RequestQuoteBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\Common\Collections\ArrayCollection;
/**
* RequestQuoteVariationDetail
*
* @ORM\Table("tbl_request_quote_variation_detail", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
* @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteVariationDetailRepository")
*/
class RequestQuoteVariationDetail
{
/**
* @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="RequestQuoteVariationMapping", inversedBy="requestQuoteVariationDetail")
* @ORM\JoinColumn(name="variation_mapping_id", referencedColumnName="id")
*/
private $variationMappingId;
/**
* @var integer
*
* @ORM\Column(name="attribute_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
*/
private $attributeId;
/**
* @var integer
*
* @ORM\Column(name="attribute_value_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
*/
private $attributeValueId;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set variationMappingId
*
* @param integer $variationMappingId
* @return RequestQuoteVariationDetail
*/
public function setVariationMappingId($variationMappingId)
{
$this->variationMappingId = $variationMappingId;
return $this;
}
/**
* Get variationMappingId
*
* @return integer
*/
public function getVariationMappingId()
{
return $this->variationMappingId;
}
/**
* Set attributeId
*
* @param integer $attributeId
* @return RequestQuoteVariationDetail
*/
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 RequestQuoteVariationDetail
*/
public function setAttributeValueId($attributeValueId)
{
$this->attributeValueId = $attributeValueId;
return $this;
}
/**
* Get attributeValueId
*
* @return integer
*/
public function getAttributeValueId()
{
return $this->attributeValueId;
}
}