src/MDS/EventsBundle/Entity/ProposalControl.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\MDS\EventsBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ProposalControl
  6.  *
  7.  * @ORM\Table(name="proposals_control")
  8.  * @ORM\Entity(repositoryClass="App\MDS\EventsBundle\Repository\ProposalControlRepository")
  9.  */
  10. class ProposalControl
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="proposal_id", type="integer")
  24.      */
  25.     private $proposalId;
  26.     /**
  27.      * @var int
  28.      *
  29.      * @ORM\Column(name="destination_id", type="integer")
  30.      */
  31.     private $destinationId;
  32.     /**
  33.      * @var int
  34.      *
  35.      * @ORM\Column(name="disabled", type="integer", nullable=true)
  36.      */
  37.     private $disabled '0';
  38.     /**
  39.      * @var int
  40.      *
  41.      * @ORM\Column(name="disabled_presentation", type="integer", nullable=true)
  42.      */
  43.     private $disabledPresentation '0';
  44.     /**
  45.      * Get id
  46.      *
  47.      * @return int
  48.      */
  49.     public function getId()
  50.     {
  51.         return $this->id;
  52.     }
  53.     /**
  54.      * Set proposalId
  55.      *
  56.      * @param integer $proposalId
  57.      *
  58.      * @return ProposalControl
  59.      */
  60.     public function setProposalId($proposalId)
  61.     {
  62.         $this->proposalId $proposalId;
  63.         return $this;
  64.     }
  65.     /**
  66.      * Get proposalId
  67.      *
  68.      * @return int
  69.      */
  70.     public function getProposalId()
  71.     {
  72.         return $this->proposalId;
  73.     }
  74.     /**
  75.      * Set destinationId
  76.      *
  77.      * @param integer $destinationId
  78.      *
  79.      * @return ProposalControl
  80.      */
  81.     public function setDestinationId($destinationId)
  82.     {
  83.         $this->destinationId $destinationId;
  84.         return $this;
  85.     }
  86.     /**
  87.      * Get destinationId
  88.      *
  89.      * @return int
  90.      */
  91.     public function getDestinationId()
  92.     {
  93.         return $this->destinationId;
  94.     }
  95.     /**
  96.      * Set disabled
  97.      *
  98.      * @param integer $disabled
  99.      *
  100.      * @return ProposalControl
  101.      */
  102.     public function setDisabled($disabled)
  103.     {
  104.         $this->disabled $disabled;
  105.         return $this;
  106.     }
  107.     /**
  108.      * Get disabled
  109.      *
  110.      * @return integer
  111.      */
  112.     public function getDisabled()
  113.     {
  114.         return $this->disabled;
  115.     }
  116.     /**
  117.      * Set disabledPresentation
  118.      *
  119.      * @param integer $disabledPresentation
  120.      *
  121.      * @return ProposalControl
  122.      */
  123.     public function setDisabledPresentation($disabledPresentation)
  124.     {
  125.         $this->disabledPresentation $disabledPresentation;
  126.         return $this;
  127.     }
  128.     /**
  129.      * Get disabledPresentation
  130.      *
  131.      * @return integer
  132.      */
  133.     public function getDisabledPresentation()
  134.     {
  135.         return $this->disabledPresentation;
  136.     }
  137. }