<?php
namespace App\MDS\EventsBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
* ProposalSupplierServicesCostsClient
*
* @ORM\Table(name="proposals_supplier_services_costs_client")
* @ORM\Entity(repositoryClass="App\MDS\EventsBundle\Repository\ProposalSupplierServicesCostsClientRepository")
* @ORM\HasLifecycleCallbacks()
*/
class ProposalSupplierServicesCostsClient
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="service_id_proposal", type="integer")
*/
private $serviceIdProposal;
/**
* @var int
*
* @ORM\Column(name="service_id_father", type="integer")
*/
private $serviceIdFather = '0';
/**
* @var int
*
* @ORM\Column(name="control_id", type="integer")
*/
private $controlId;
/**
* @var int
*
* @ORM\Column(name="proposal_id", type="integer")
*/
private $proposalId;
/**
* @var int
*
* @ORM\Column(name="destination_id", type="integer")
*/
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")
*/
private $supplierId;
/**
* @var int
*
* @ORM\Column(name="assistant_id", type="integer", nullable=true)
*/
private $assistantId;
/**
* @var int
*
* @ORM\Column(name="service_id", type="integer")
*/
private $serviceId;
/**
* @var int
*
* @ORM\Column(name="service_cat_id", type="integer")
*/
private $serviceCatId;
/**
* @var string
*
* @ORM\Column(name="service_cat_name", type="string", length=255)
*/
private $serviceCatName;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255)
*/
private $name;
/**
* @var string
*
* @ORM\Column(name="price", type="string", length=255)
*/
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)
*/
private $units;
/**
* @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)
*/
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="pax", type="string", length=255)
*/
private $pax;
/**
* @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 \DateTime
*
* @ORM\Column(name="created_at", type="datetime")
*/
private $createdAt;
/**
* @var int
*
* @ORM\Column(name="created_id", type="integer")
*/
private $createdId;
/**
* @var \DateTime
*
* @ORM\Column(name="updated_at", type="datetime")
*/
private $updatedAt;
/**
* @var int
*
* @ORM\Column(name="updated_id", type="integer")
*/
private $updatedId;
/**
* @var string
*
* @ORM\Column(name="contcolor", type="string", length=255)
*/
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})
*/
private $pay = "0";
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set serviceIdFather
*
* @param integer $serviceIdFather
*
* @return ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
public function setDestinationId($destinationId)
{
$this->destinationId = $destinationId;
return $this;
}
/**
* Get destinationId
*
* @return integer
*/
public function getDestinationId()
{
return $this->destinationId;
}
/**
* Set supplierId
*
* @param integer $supplierId
*
* @return ProposalSupplierServicesCostsClient
*/
public function setSupplierId($supplierId)
{
$this->supplierId = $supplierId;
return $this;
}
/**
* Get supplierId
*
* @return integer
*/
public function getSupplierId()
{
return $this->supplierId;
}
/**
* Set serviceId
*
* @param integer $serviceId
*
* @return ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
public function setIva($iva)
{
$this->iva = $iva;
return $this;
}
/**
* Get iva
*
* @return string
*/
public function getIva()
{
return $this->iva;
}
/**
* Set pax
*
* @param string $pax
*
* @return ProposalSupplierServicesCostsClient
*/
public function setPax($pax)
{
$this->pax = $pax;
return $this;
}
/**
* Get pax
*
* @return string
*/
public function getPax()
{
return $this->pax;
}
/**
* Set hour
*
* @param string $hour
*
* @return ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
public function setDateOutAt($dateOutAt)
{
$this->dateOutAt = $dateOutAt;
return $this;
}
/**
* Get dateOutAt
*
* @return \DateTime
*/
public function getDateOutAt()
{
return $this->dateOutAt;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return ProposalSupplierServicesCostsClient
*/
public function setCreatedAt(\Datetime $createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set createdId
*
* @param integer $createdId
*
* @return ProposalSupplierServicesCostsClient
*/
public function setCreatedId($createdId)
{
$this->createdId = $createdId;
return $this;
}
/**
* Get createdId
*
* @return integer
*/
public function getCreatedId()
{
return $this->createdId;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return ProposalSupplierServicesCostsClient
*/
public function setUpdatedAt(\Datetime $updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* Set updatedId
*
* @param integer $updatedId
*
* @return ProposalSupplierServicesCostsClient
*/
public function setUpdatedId($updatedId)
{
$this->updatedId = $updatedId;
return $this;
}
/**
* Get updatedId
*
* @return integer
*/
public function getUpdatedId()
{
return $this->updatedId;
}
/**
* @ORM\PrePersist
*/
public function setCreatedAtValue()
{
$this->createdAt = new \Datetime();
}
/**
* @ORM\PrePersist
* @ORM\PreUpdate
*/
public function setUpdatedAtValue()
{
$this->updatedAt = new \Datetime();
}
/**
* Set contcolor
*
* @param string $contcolor
*
* @return ProposalSupplierServicesCostsClient
*/
public function setContcolor($contcolor)
{
$this->contcolor = $contcolor;
return $this;
}
/**
* Get contcolor
*
* @return string
*/
public function getContcolor()
{
return $this->contcolor;
}
/**
* Set serviceIdProposal
*
* @param integer $serviceIdProposal
*
* @return ProposalSupplierServicesCostsClient
*/
public function setServiceIdProposal($serviceIdProposal)
{
$this->serviceIdProposal = $serviceIdProposal;
return $this;
}
/**
* Get serviceIdProposal
*
* @return integer
*/
public function getServiceIdProposal()
{
return $this->serviceIdProposal;
}
/**
* Set rank
*
* @param string $rank
*
* @return ProposalSupplierServicesCostsClient
*/
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 ProposalSupplierServicesCostsClient
*/
public function setRenovate($renovate)
{
$this->renovate = $renovate;
return $this;
}
/**
* Get renovate
*
* @return string
*/
public function getRenovate()
{
return $this->renovate;
}
/**
* Set ideaId
*
* @param integer $ideaId
*
* @return ProposalSupplierServicesCostsClient
*/
public function setIdeaId($ideaId)
{
$this->ideaId = $ideaId;
return $this;
}
/**
* Get ideaId
*
* @return integer
*/
public function getIdeaId()
{
return $this->ideaId;
}
/**
* Set assistantId
*
* @param integer $assistantId
*
* @return ProposalSupplierServicesCostsClient
*/
public function setAssistantId($assistantId)
{
$this->assistantId = $assistantId;
return $this;
}
/**
* Get assistantId
*
* @return integer
*/
public function getAssistantId()
{
return $this->assistantId;
}
/**
* Set activityId
*
* @param integer $activityId
*
* @return ProposalSupplierServicesCostsClient
*/
public function setActivityId($activityId)
{
$this->activityId = $activityId;
return $this;
}
/**
* Get activityId
*
* @return integer
*/
public function getActivityId()
{
return $this->activityId;
}
/**
* Set pay
*
* @param boolean $pay
*
* @return ProposalSupplierServicesCostsClient
*/
public function setPay($pay)
{
$this->pay = $pay;
return $this;
}
/**
* Get pay
*
* @return boolean
*/
public function getPay()
{
return $this->pay;
}
}