<?php
namespace App\MDS\AvexpressBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* AveProductFile
*
* @ORM\Table(name="ave_product_file")
* @ORM\Entity(repositoryClass="App\MDS\AvexpressBundle\Repository\AveProductFileRepository")
*/
class AveProductFile
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="productName", type="text", nullable=true)
*/
private $productName;
/**
* @var int
*
* @ORM\Column(name="productId", type="integer")
*/
private $productId;
/**
* @var \DateTime
*
* @ORM\Column(name="dateStart", type="datetime", nullable=true)
*/
private $dateStart;
/**
* @var \DateTime
*
* @ORM\Column(name="dateEnd", type="datetime", nullable=true)
*/
private $dateEnd;
/**
* @var string
*
* @ORM\Column(name="servicePrice", type="string", length=255)
*/
private $servicePrice;
/**
* @var int
*
* @ORM\Column(name="fileId", type="integer")
*
*/
private $fileId;
/**
* @var int
*
* @ORM\Column(name="pax", type="integer", nullable=true)
*/
private $pax;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=255, nullable=true)
*/
private $type;
/**
* @var string
*
* @ORM\Column(name="hourStart", type="string", length=255, nullable=true)
*/
private $hourStart;
/**
* @var string
*
* @ORM\Column(name="minStart", type="string", length=255, nullable=true)
*/
private $minStart;
/**
* @var string
*
* @ORM\Column(name="hourEnd", type="string", length=255, nullable=true)
*/
private $hourEnd;
/**
* @var string
*
* @ORM\Column(name="minEnd", type="string", length=255, nullable=true)
*/
private $minEnd;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
/**
* @var \DateTime
*
* @ORM\Column(name="createdAt", type="datetime")
*/
private $createdAt;
/**
* @var string
*
* @ORM\Column(name="createdId", type="string", length=255)
*/
private $createdId;
/**
* @var \DateTime
*
* @ORM\Column(name="updatedAt", type="datetime")
*/
private $updatedAt;
/**
* @var string
*
* @ORM\Column(name="updatedId", type="string", length=255)
*/
private $updatedId;
/**
* @var string
*
* @ORM\Column(name="supplierExt", type="string", nullable=true)
*/
private $supplierExt;
/**
* @var int
*
* @ORM\Column(name="supplierExtId", type="integer", nullable=true)
*/
private $supplierExtId;
////////////// REPLICACION DE CAMPOS DE SERVICIOS DE EVENTOS
/**
* @var int
*
* @ORM\Column(name="service_id_proposal", type="integer", nullable=true)
*/
private $serviceIdProposal;
/**
* @var int
*
* @ORM\Column(name="service_id_father", type="integer", nullable=true)
*/
private $serviceIdFather = '0';
/**
* @var int
*
* @ORM\Column(name="control_id", type="integer", nullable=true)
*/
private $controlId;
/**
* @var int
*
* @ORM\Column(name="proposal_id", type="integer", nullable=true)
*/
private $proposalId;
/**
* @var int
*
* @ORM\Column(name="destination_id", type="integer", nullable=true)
*/
private $destinationId;
/**
* @var int
*
* @ORM\Column(name="idea_id", type="integer", nullable=true)
*/
private $ideaId;
/**
* @var int
*
* @ORM\Column(name="activity_id", type="integer", nullable=true)
*/
private $activityId;
/**
* @var int
*
* @ORM\Column(name="supplier_id", type="integer", nullable=true)
*/
private $supplierId;
/**
* @var int
*
* @ORM\Column(name="assistant_id", type="integer", nullable=true)
*/
private $assistantId;
/**
* @var int
*
* @ORM\Column(name="service_id", type="integer", nullable=true)
*/
private $serviceId;
/**
* @var int
*
* @ORM\Column(name="service_cat_id", type="integer", nullable=true)
*/
private $serviceCatId;
/**
* @var string
*
* @ORM\Column(name="service_cat_name", type="string", length=255, nullable=true)
*/
private $serviceCatName;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=true)
*/
private $name;
/**
* @var string
*
* @ORM\Column(name="price", type="string", length=255, nullable=true)
*/
private $price;
/**
* @var string
*
* @ORM\Column(name="currency", type="string", length=255, nullable=true)
*/
private $currency;
/**
* @var string
*
* @ORM\Column(name="units", type="string", length=255, nullable=true)
*/
private $units = '1';
/**
* @var string
*
* @ORM\Column(name="op_commission", type="string", length=255, nullable=true)
*/
private $opCommission = '0';
/**
* @var string
*
* @ORM\Column(name="commission", type="string", length=255, nullable=true)
*/
private $commission;
/**
* @var string
*
* @ORM\Column(name="op_over", type="string", length=255, nullable=true)
*/
private $opOver = '0';
/**
* @var string
*
* @ORM\Column(name="price_over", type="string", length=255, nullable=true)
*/
private $over;
/**
* @var string
*
* @ORM\Column(name="op_iva", type="string", length=255, nullable=true)
*/
private $opIva = '0';
/**
* @var string
*
* @ORM\Column(name="iva", type="string", length=255, nullable=true)
*/
private $iva;
/**
* @var string
*
* @ORM\Column(name="hour", type="string", length=255, nullable=true)
*/
private $hour;
/**
* @var \DateTime
*
* @ORM\Column(name="date_in_at", type="datetime", nullable=true)
*/
private $dateInAt;
/**
* @var \DateTime
*
* @ORM\Column(name="date_out_at", type="datetime", nullable=true)
*/
private $dateOutAt;
/**
* @var string
*
* @ORM\Column(name="contcolor", type="string", length=255, nullable=true)
*/
private $contcolor;
/**
* @var string
*
* @ORM\Column(name="`rank`", type="string", length=255, nullable=true)
*/
private $rank;
/**
* @var string
*
* @ORM\Column(name="renovate", type="string", length=2, nullable=true)
*/
private $renovate;
/**
* @ORM\Column(name="pay", type="boolean", options={"default" = 0}, nullable=true)
*/
private $pay = "0";
/**
* @var string
*
* @ORM\Column(name="days", type="string", length=255, nullable=true)
*/
private $days = '1';
////////////// REPLICACION DE CAMPOS DE SERVICIOS DE EVENTOS
/**
* @var string
*
* @ORM\Column(name="sub_total_price", type="string", length=255, nullable=true)
*/
private $subTotalPrice;
////////////// CAMPO DE ID DEL SERVICIO ASOCIADO AL PRODUCTO EN EVENTOS
/**
* @var int
*
* @ORM\Column(name="origin_id", type="integer", nullable=true)
*/
private $originId;
////////////// RANKAV EL NUMERO PARA LA ORGANIZACION
/**
* @var int
*
* @ORM\Column(name="rank_av", type="integer", length=255, nullable=true)
*/
private $rankAv;
////////////// LOCATION ES EL NOMBRE DE LA SALA O ESPACIO DONDE SE VENDERA EL PRODUCTO
/**
* @var string
*
* @ORM\Column(name="location", type="string", length=255, nullable=true)
*/
private $location;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set productName
*
* @param string $productName
*
* @return AveProductFile
*/
public function setProductName($productName)
{
$this->productName = $productName;
return $this;
}
/**
* Get productName
*
* @return string
*/
public function getProductName()
{
return $this->productName;
}
/**
* Set productId
*
* @param integer $productId
*
* @return AveProductFile
*/
public function setProductId($productId)
{
$this->productId = $productId;
return $this;
}
/**
* Get productId
*
* @return integer
*/
public function getProductId()
{
return $this->productId;
}
/**
* Set dateStart
*
* @param \DateTime $dateStart
*
* @return AveProductFile
*/
public function setDateStart($dateStart)
{
$this->dateStart = $dateStart;
return $this;
}
/**
* Get dateStart
*
* @return \DateTime
*/
public function getDateStart()
{
return $this->dateStart;
}
/**
* Set dateEnd
*
* @param \DateTime $dateEnd
*
* @return AveProductFile
*/
public function setDateEnd($dateEnd)
{
$this->dateEnd = $dateEnd;
return $this;
}
/**
* Get dateEnd
*
* @return \DateTime
*/
public function getDateEnd()
{
return $this->dateEnd;
}
/**
* Set fileId
*
* @param integer $fileId
*
* @return AveProductFile
*/
public function setFileId($fileId)
{
$this->fileId = $fileId;
return $this;
}
/**
* Get fileId
*
* @return integer
*/
public function getFileId()
{
return $this->fileId;
}
/**
* Set pax
*
* @param integer $pax
*
* @return AveProductFile
*/
public function setPax($pax)
{
$this->pax = $pax;
return $this;
}
/**
* Get pax
*
* @return integer
*/
public function getPax()
{
return $this->pax;
}
/**
* Set type
*
* @param string $type
*
* @return AveProductFile
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Set hourStart
*
* @param string $hourStart
*
* @return AveProductFile
*/
public function setHourStart($hourStart)
{
$this->hourStart = $hourStart;
return $this;
}
/**
* Get hourStart
*
* @return string
*/
public function getHourStart()
{
return $this->hourStart;
}
/**
* Set minStart
*
* @param string $minStart
*
* @return AveProductFile
*/
public function setMinStart($minStart)
{
$this->minStart = $minStart;
return $this;
}
/**
* Get minStart
*
* @return string
*/
public function getMinStart()
{
return $this->minStart;
}
/**
* Set hourEnd
*
* @param string $hourEnd
*
* @return AveProductFile
*/
public function setHourEnd($hourEnd)
{
$this->hourEnd = $hourEnd;
return $this;
}
/**
* Get hourEnd
*
* @return string
*/
public function getHourEnd()
{
return $this->hourEnd;
}
/**
* Set minEnd
*
* @param string $minEnd
*
* @return AveProductFile
*/
public function setMinEnd($minEnd)
{
$this->minEnd = $minEnd;
return $this;
}
/**
* Get minEnd
*
* @return string
*/
public function getMinEnd()
{
return $this->minEnd;
}
/**
* Set description
*
* @param string $description
*
* @return AveProductFile
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return AveProductFile
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set createdId
*
* @param string $createdId
*
* @return AveProductFile
*/
public function setCreatedId($createdId)
{
$this->createdId = $createdId;
return $this;
}
/**
* Get createdId
*
* @return string
*/
public function getCreatedId()
{
return $this->createdId;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return AveProductFile
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* Set updatedId
*
* @param string $updatedId
*
* @return AveProductFile
*/
public function setUpdatedId($updatedId)
{
$this->updatedId = $updatedId;
return $this;
}
/**
* Get updatedId
*
* @return string
*/
public function getUpdatedId()
{
return $this->updatedId;
}
/**
* Set serviceIdProposal
*
* @param integer $serviceIdProposal
*
* @return AveProductFile
*/
public function setServiceIdProposal($serviceIdProposal)
{
$this->serviceIdProposal = $serviceIdProposal;
return $this;
}
/**
* Get serviceIdProposal
*
* @return integer
*/
public function getServiceIdProposal()
{
return $this->serviceIdProposal;
}
/**
* Set serviceIdFather
*
* @param integer $serviceIdFather
*
* @return AveProductFile
*/
public function setServiceIdFather($serviceIdFather)
{
$this->serviceIdFather = $serviceIdFather;
return $this;
}
/**
* Get serviceIdFather
*
* @return integer
*/
public function getServiceIdFather()
{
return $this->serviceIdFather;
}
/**
* Set controlId
*
* @param integer $controlId
*
* @return AveProductFile
*/
public function setControlId($controlId)
{
$this->controlId = $controlId;
return $this;
}
/**
* Get controlId
*
* @return integer
*/
public function getControlId()
{
return $this->controlId;
}
/**
* Set proposalId
*
* @param integer $proposalId
*
* @return AveProductFile
*/
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
return $this;
}
/**
* Get proposalId
*
* @return integer
*/
public function getProposalId()
{
return $this->proposalId;
}
/**
* Set destinationId
*
* @param integer $destinationId
*
* @return AveProductFile
*/
public function setDestinationId($destinationId)
{
$this->destinationId = $destinationId;
return $this;
}
/**
* Get destinationId
*
* @return integer
*/
public function getDestinationId()
{
return $this->destinationId;
}
/**
* Set ideaId
*
* @param integer $ideaId
*
* @return AveProductFile
*/
public function setIdeaId($ideaId)
{
$this->ideaId = $ideaId;
return $this;
}
/**
* Get ideaId
*
* @return integer
*/
public function getIdeaId()
{
return $this->ideaId;
}
/**
* Set activityId
*
* @param integer $activityId
*
* @return AveProductFile
*/
public function setActivityId($activityId)
{
$this->activityId = $activityId;
return $this;
}
/**
* Get activityId
*
* @return integer
*/
public function getActivityId()
{
return $this->activityId;
}
/**
* Set supplierId
*
* @param integer $supplierId
*
* @return AveProductFile
*/
public function setSupplierId($supplierId)
{
$this->supplierId = $supplierId;
return $this;
}
/**
* Get supplierId
*
* @return integer
*/
public function getSupplierId()
{
return $this->supplierId;
}
/**
* Set assistantId
*
* @param integer $assistantId
*
* @return AveProductFile
*/
public function setAssistantId($assistantId)
{
$this->assistantId = $assistantId;
return $this;
}
/**
* Get assistantId
*
* @return integer
*/
public function getAssistantId()
{
return $this->assistantId;
}
/**
* Set serviceId
*
* @param integer $serviceId
*
* @return AveProductFile
*/
public function setServiceId($serviceId)
{
$this->serviceId = $serviceId;
return $this;
}
/**
* Get serviceId
*
* @return integer
*/
public function getServiceId()
{
return $this->serviceId;
}
/**
* Set serviceCatId
*
* @param integer $serviceCatId
*
* @return AveProductFile
*/
public function setServiceCatId($serviceCatId)
{
$this->serviceCatId = $serviceCatId;
return $this;
}
/**
* Get serviceCatId
*
* @return integer
*/
public function getServiceCatId()
{
return $this->serviceCatId;
}
/**
* Set serviceCatName
*
* @param string $serviceCatName
*
* @return AveProductFile
*/
public function setServiceCatName($serviceCatName)
{
$this->serviceCatName = $serviceCatName;
return $this;
}
/**
* Get serviceCatName
*
* @return string
*/
public function getServiceCatName()
{
return $this->serviceCatName;
}
/**
* Set name
*
* @param string $name
*
* @return AveProductFile
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set price
*
* @param string $price
*
* @return AveProductFile
*/
public function setPrice($price)
{
$this->price = $price;
return $this;
}
/**
* Get price
*
* @return string
*/
public function getPrice()
{
return $this->price;
}
/**
* Set currency
*
* @param string $currency
*
* @return AveProductFile
*/
public function setCurrency($currency)
{
$this->currency = $currency;
return $this;
}
/**
* Get currency
*
* @return string
*/
public function getCurrency()
{
return $this->currency;
}
/**
* Set units
*
* @param string $units
*
* @return AveProductFile
*/
public function setUnits($units)
{
$this->units = $units;
return $this;
}
/**
* Get units
*
* @return string
*/
public function getUnits()
{
return $this->units;
}
/**
* Set opCommission
*
* @param string $opCommission
*
* @return AveProductFile
*/
public function setOpCommission($opCommission)
{
$this->opCommission = $opCommission;
return $this;
}
/**
* Get opCommission
*
* @return string
*/
public function getOpCommission()
{
return $this->opCommission;
}
/**
* Set commission
*
* @param string $commission
*
* @return AveProductFile
*/
public function setCommission($commission)
{
$this->commission = $commission;
return $this;
}
/**
* Get commission
*
* @return string
*/
public function getCommission()
{
return $this->commission;
}
/**
* Set opOver
*
* @param string $opOver
*
* @return AveProductFile
*/
public function setOpOver($opOver)
{
$this->opOver = $opOver;
return $this;
}
/**
* Get opOver
*
* @return string
*/
public function getOpOver()
{
return $this->opOver;
}
/**
* Set over
*
* @param string $over
*
* @return AveProductFile
*/
public function setOver($over)
{
$this->over = $over;
return $this;
}
/**
* Get over
*
* @return string
*/
public function getOver()
{
return $this->over;
}
/**
* Set opIva
*
* @param string $opIva
*
* @return AveProductFile
*/
public function setOpIva($opIva)
{
$this->opIva = $opIva;
return $this;
}
/**
* Get opIva
*
* @return string
*/
public function getOpIva()
{
return $this->opIva;
}
/**
* Set iva
*
* @param string $iva
*
* @return AveProductFile
*/
public function setIva($iva)
{
$this->iva = $iva;
return $this;
}
/**
* Get iva
*
* @return string
*/
public function getIva()
{
return $this->iva;
}
/**
* Set hour
*
* @param string $hour
*
* @return AveProductFile
*/
public function setHour($hour)
{
$this->hour = $hour;
return $this;
}
/**
* Get hour
*
* @return string
*/
public function getHour()
{
return $this->hour;
}
/**
* Set dateInAt
*
* @param \DateTime $dateInAt
*
* @return AveProductFile
*/
public function setDateInAt($dateInAt)
{
$this->dateInAt = $dateInAt;
return $this;
}
/**
* Get dateInAt
*
* @return \DateTime
*/
public function getDateInAt()
{
return $this->dateInAt;
}
/**
* Set dateOutAt
*
* @param \DateTime $dateOutAt
*
* @return AveProductFile
*/
public function setDateOutAt($dateOutAt)
{
$this->dateOutAt = $dateOutAt;
return $this;
}
/**
* Get dateOutAt
*
* @return \DateTime
*/
public function getDateOutAt()
{
return $this->dateOutAt;
}
/**
* Set contcolor
*
* @param string $contcolor
*
* @return AveProductFile
*/
public function setContcolor($contcolor)
{
$this->contcolor = $contcolor;
return $this;
}
/**
* Get contcolor
*
* @return string
*/
public function getContcolor()
{
return $this->contcolor;
}
/**
* Set rank
*
* @param string $rank
*
* @return AveProductFile
*/
public function setRank($rank)
{
$this->rank = $rank;
return $this;
}
/**
* Get rank
*
* @return string
*/
public function getRank()
{
return $this->rank;
}
/**
* Set renovate
*
* @param string $renovate
*
* @return AveProductFile
*/
public function setRenovate($renovate)
{
$this->renovate = $renovate;
return $this;
}
/**
* Get renovate
*
* @return string
*/
public function getRenovate()
{
return $this->renovate;
}
/**
* Set pay
*
* @param boolean $pay
*
* @return AveProductFile
*/
public function setPay($pay)
{
$this->pay = $pay;
return $this;
}
/**
* Get pay
*
* @return boolean
*/
public function getPay()
{
return $this->pay;
}
/**
* Set originId
*
* @param integer $originId
*
* @return AveProductFile
*/
public function setOriginId($originId)
{
$this->originId = $originId;
return $this;
}
/**
* Get originId
*
* @return integer
*/
public function getOriginId()
{
return $this->originId;
}
/**
* Set servicePrice
*
* @param string $servicePrice
*
* @return AveProductFile
*/
public function setServicePrice($servicePrice)
{
$this->servicePrice = $servicePrice;
return $this;
}
/**
* Get servicePrice
*
* @return string
*/
public function getServicePrice()
{
return $this->servicePrice;
}
/**
* Set subTotalPrice
*
* @param string $subTotalPrice
*
* @return AveProductFile
*/
public function setSubTotalPrice($subTotalPrice)
{
$this->subTotalPrice = $subTotalPrice;
return $this;
}
/**
* Get subTotalPrice
*
* @return string
*/
public function getSubTotalPrice()
{
return $this->subTotalPrice;
}
/**
* Set days
*
* @param string $days
*
* @return AveProductFile
*/
public function setDays($days)
{
$this->days = $days;
return $this;
}
/**
* Get days
*
* @return string
*/
public function getDays()
{
return $this->days;
}
/**
* Set supplierExt
*
* @param string $supplierExt
*
* @return AveProductFile
*/
public function setSupplierExt($supplierExt)
{
$this->supplierExt = $supplierExt;
return $this;
}
/**
* Get supplierExt
*
* @return string
*/
public function getSupplierExt()
{
return $this->supplierExt;
}
/**
* Set supplierExtId
*
* @param integer $supplierExtId
*
* @return AveProductFile
*/
public function setSupplierExtId($supplierExtId)
{
$this->supplierExtId = $supplierExtId;
return $this;
}
/**
* Get supplierExtId
*
* @return integer
*/
public function getSupplierExtId()
{
return $this->supplierExtId;
}
/**
* Set rankAv
*
* @param integer $rankAv
*
* @return AveProductFile
*/
public function setRankAv($rankAv)
{
$this->rankAv = $rankAv;
return $this;
}
/**
* Get rankAv
*
* @return integer
*/
public function getRankAv()
{
return $this->rankAv;
}
/**
* Set location
*
* @param string $location
*
* @return AveProductFile
*/
public function setLocation($location)
{
$this->location = $location;
return $this;
}
/**
* Get location
*
* @return string
*/
public function getLocation()
{
return $this->location;
}
}