<?php
namespace App\MDS\AvexpressBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* AveBenefitsInvoiceInvoiceRec
*
* @ORM\Table(name="ave_benefits_invoice_invoice_rec")
* @ORM\Entity(repositoryClass="App\MDS\AvexpressBundle\Repository\AveBenefitsInvoiceInvoiceRecRepository")
*/
class AveBenefitsInvoiceInvoiceRec
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="file_id", type="integer")
* Id del expediente
*/
private $fileId;
/**
* @var string
*
* @ORM\Column(name="file_name", type="string", length=255)
* Nombre del expediente
*/
private $fileName;
/**
* @var int
*
* @ORM\Column(name="doc_id", type="integer")
* Id del documento (la factura o factura rectificativa)
*/
private $docId;
/**
* @var int
*
* @ORM\Column(name="client_id", type="integer")
* Id del cliente
*/
private $clientId;
/**
* @var string
*
* @ORM\Column(name="client_name", type="string", length=255)
* Nombre del cliente
*/
private $clientName;
/**
* @var \DateTime
*
* @ORM\Column(name="dateAt", type="datetime")
* Fecha del documento
*/
private $dateAt;
/**
* @var string
*
* @ORM\Column(name="doc_type", type="string", length=255)
* Tipo de documento (factura o factura rectificativa)
*/
private $docType;
/**
* @var string
*
* @ORM\Column(name="benefit_euro", type="string", length=255)
* Beneficio en euros del documento
*/
private $benefitEuro;
/**
* @var string
*
* @ORM\Column(name="benefit_perc", type="string", length=255)
* Porcentaje del Beneficio
*/
private $benefitPerc;
/**
* @var string
*
* @ORM\Column(name="total_sale", type="string", length=255)
* Venta total del documento
*/
private $totalSale;
/**
* @var string
*
* @ORM\Column(name="net_sale", type="string", length=255)
* Venta neta del documento
*/
private $netSale;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set fileId
*
* @param integer $fileId
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setFileId($fileId)
{
$this->fileId = $fileId;
return $this;
}
/**
* Get fileId
*
* @return integer
*/
public function getFileId()
{
return $this->fileId;
}
/**
* Set fileName
*
* @param string $fileName
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setFileName($fileName)
{
$this->fileName = $fileName;
return $this;
}
/**
* Get fileName
*
* @return string
*/
public function getFileName()
{
return $this->fileName;
}
/**
* Set docId
*
* @param integer $docId
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setDocId($docId)
{
$this->docId = $docId;
return $this;
}
/**
* Get docId
*
* @return integer
*/
public function getDocId()
{
return $this->docId;
}
/**
* Set clientId
*
* @param integer $clientId
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
return $this;
}
/**
* Get clientId
*
* @return integer
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Set clientName
*
* @param string $clientName
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setClientName($clientName)
{
$this->clientName = $clientName;
return $this;
}
/**
* Get clientName
*
* @return string
*/
public function getClientName()
{
return $this->clientName;
}
/**
* Set dateAt
*
* @param \DateTime $dateAt
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setDateAt($dateAt)
{
$this->dateAt = $dateAt;
return $this;
}
/**
* Get dateAt
*
* @return \DateTime
*/
public function getDateAt()
{
return $this->dateAt;
}
/**
* Set docType
*
* @param string $docType
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setDocType($docType)
{
$this->docType = $docType;
return $this;
}
/**
* Get docType
*
* @return string
*/
public function getDocType()
{
return $this->docType;
}
/**
* Set benefitEuro
*
* @param string $benefitEuro
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setBenefitEuro($benefitEuro)
{
$this->benefitEuro = $benefitEuro;
return $this;
}
/**
* Get benefitEuro
*
* @return string
*/
public function getBenefitEuro()
{
return $this->benefitEuro;
}
/**
* Set benefitPerc
*
* @param string $benefitPerc
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setBenefitPerc($benefitPerc)
{
$this->benefitPerc = $benefitPerc;
return $this;
}
/**
* Get benefitPerc
*
* @return string
*/
public function getBenefitPerc()
{
return $this->benefitPerc;
}
/**
* Set totalSale
*
* @param string $totalSale
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setTotalSale($totalSale)
{
$this->totalSale = $totalSale;
return $this;
}
/**
* Get totalSale
*
* @return string
*/
public function getTotalSale()
{
return $this->totalSale;
}
/**
* Set netSale
*
* @param string $netSale
*
* @return AveBenefitsInvoiceInvoiceRec
*/
public function setNetSale($netSale)
{
$this->netSale = $netSale;
return $this;
}
/**
* Get netSale
*
* @return string
*/
public function getNetSale()
{
return $this->netSale;
}
}