<?php
namespace App\MDS\AvexpressBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* AveDocProformaItems
*
* @ORM\Table(name="ave_doc_proforma_items")
* @ORM\Entity(repositoryClass="App\MDS\AvexpressBundle\Repository\AveDocProformaItemsRepository")
*/
class AveDocProformaItems
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="controlId", type="integer")
*/
private $controlId;
// Product, Service, Payment
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=255)
*/
private $type;
/**
* @var int
*
* @ORM\Column(name="fileId", type="integer")
*/
private $fileId;
/**
* @var int
*
* @ORM\Column(name="proformaId", type="integer", nullable=true)
*/
private $proformaId;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set controlId
*
* @param integer $controlId
*
* @return AveDocProformaItems
*/
public function setControlId($controlId)
{
$this->controlId = $controlId;
return $this;
}
/**
* Get controlId
*
* @return integer
*/
public function getControlId()
{
return $this->controlId;
}
/**
* Set type
*
* @param string $type
*
* @return AveDocProformaItems
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Set fileId
*
* @param integer $fileId
*
* @return AveDocProformaItems
*/
public function setFileId($fileId)
{
$this->fileId = $fileId;
return $this;
}
/**
* Get fileId
*
* @return integer
*/
public function getFileId()
{
return $this->fileId;
}
/**
* Set proformaId
*
* @param integer $proformaId
*
* @return AveDocProformaItems
*/
public function setProformaId($proformaId)
{
$this->proformaId = $proformaId;
return $this;
}
/**
* Get proformaId
*
* @return integer
*/
public function getProformaId()
{
return $this->proformaId;
}
}