<?php
namespace App\MDS\EventsBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ProposalSupplierControl
*
* @ORM\Table(name="proposals_supplier_control")
* @ORM\Entity(repositoryClass="App\MDS\EventsBundle\Repository\ProposalSupplierControlRepository")
*/
class ProposalSupplierControl
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="control_destination_id", type="integer")
*/
private $controlDestinationId;
/**
* @var int
*
* @ORM\Column(name="proposal_id", type="integer")
*/
private $proposalId;
/**
* @var int
*
* @ORM\Column(name="destino_id", type="integer")
*/
private $destinoId;
/**
* @var int
*
* @ORM\Column(name="supplier_id", type="integer", nullable=true)
*/
private $supplierId;
/**
* @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 string
*
* @ORM\Column(name="status", type="string", length=255)
*/
private $status;
/**
* @var string
*
* @ORM\Column(name="rank", type="string", length=255, nullable=true)
*/
private $rank = '1';
/**
* @var int
*
* @ORM\Column(name="disabled", type="integer", nullable=true)
*/
private $disabled = '0';
/**
* @var \DateTime
*
* @ORM\Column(name="date_block_limit", type="datetime", nullable=true)
*/
private $dateBlockLimit;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set controlDestinationId
*
* @param integer $controlDestinationId
*
* @return ProposalSupplierControl
*/
public function setControlDestinationId($controlDestinationId)
{
$this->controlDestinationId = $controlDestinationId;
return $this;
}
/**
* Get controlDestinationId
*
* @return int
*/
public function getControlDestinationId()
{
return $this->controlDestinationId;
}
/**
* Set proposalId
*
* @param integer $proposalId
*
* @return ProposalSupplierControl
*/
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
return $this;
}
/**
* Get proposalId
*
* @return int
*/
public function getProposalId()
{
return $this->proposalId;
}
/**
* Set destinoId
*
* @param integer $destinoId
*
* @return ProposalSupplierControl
*/
public function setDestinoId($destinoId)
{
$this->destinoId = $destinoId;
return $this;
}
/**
* Get destinoId
*
* @return int
*/
public function getDestinoId()
{
return $this->destinoId;
}
/**
* Set supplierId
*
* @param integer $supplierId
*
* @return ProposalSupplierControl
*/
public function setSupplierId($supplierId)
{
$this->supplierId = $supplierId;
return $this;
}
/**
* Get supplierId
*
* @return int
*/
public function getSupplierId()
{
return $this->supplierId;
}
/**
* Set status
*
* @param string $status
*
* @return ProposalSupplierControl
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status
*
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* Set disabled
*
* @param integer $disabled
*
* @return ProposalSupplierControl
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
return $this;
}
/**
* Get disabled
*
* @return integer
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* Set rank
*
* @param string $rank
*
* @return ProposalSupplierControl
*/
public function setRank($rank)
{
$this->rank = $rank;
return $this;
}
/**
* Get rank
*
* @return string
*/
public function getRank()
{
return $this->rank;
}
/**
* Set ideaId
*
* @param integer $ideaId
*
* @return ProposalSupplierControl
*/
public function setIdeaId($ideaId)
{
$this->ideaId = $ideaId;
return $this;
}
/**
* Get ideaId
*
* @return integer
*/
public function getIdeaId()
{
return $this->ideaId;
}
/**
* Set dateBlockLimit
*
* @param \DateTime $dateBlockLimit
*
* @return ProposalSupplierControl
*/
public function setDateBlockLimit($dateBlockLimit)
{
$this->dateBlockLimit = $dateBlockLimit;
return $this;
}
/**
* Get dateBlockLimit
*
* @return \DateTime
*/
public function getDateBlockLimit()
{
return $this->dateBlockLimit;
}
/**
* Set activityId
*
* @param integer $activityId
*
* @return ProposalSupplierControl
*/
public function setActivityId($activityId)
{
$this->activityId = $activityId;
return $this;
}
/**
* Get activityId
*
* @return integer
*/
public function getActivityId()
{
return $this->activityId;
}
}