<?php
namespace App\OfficeBrain\Bundle\RequestQuoteBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\Common\Collections\ArrayCollection;
/**
* RequestQuoteProductCharges
*
* @ORM\Table("tbl_request_quote_product_charges", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
* @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProductChargesRepository")
*/
class RequestQuoteProductCharges
{
/**
* @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="RequestQuoteItemLine", inversedBy="requestQuoteProductCharges")
* @ORM\JoinColumn(name="request_quote_item_line_id", referencedColumnName="id")
*/
private $requestQuoteItemLineId;
/**
* @var string
*
* @ORM\Column(name="charges_type", type="string", length=255, nullable=true)
*/
private $chargesType;
/**
* @var string
*
* @ORM\Column(name="charges_amount", type="decimal",precision=11, scale=2, options={"default" = 0})
*/
private $chargesAmount;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set requestQuoteItemLineId
*
* @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine $requestQuoteItemLineId
* @return RequestQuoteProductCharges
*/
public function setRequestQuoteItemLineId(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine $requestQuoteItemLineId=null)
{
$this->requestQuoteItemLineId = $requestQuoteItemLineId;
return $this;
}
/**
* Get requestQuoteItemLineId
*
* @return \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteItemLine
*/
public function getRequestQuoteItemLineId()
{
return $this->requestQuoteItemLineId;
}
/**
* Set chargesType
*
* @param string $chargesType
* @return RequestQuoteProductCharges
*/
public function setChargesType($chargesType)
{
$this->chargesType = $chargesType;
return $this;
}
/**
* Get chargesType
*
* @return string
*/
public function getChargesType()
{
return $this->chargesType;
}
/**
* Set chargesAmount
*
* @param string $chargesAmount
* @return RequestQuoteProductCharges
*/
public function setChargesAmount($chargesAmount)
{
$this->chargesAmount = $chargesAmount;
return $this;
}
/**
* Get chargesAmount
*
* @return string
*/
public function getChargesAmount()
{
return $this->chargesAmount;
}
}