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

Open in your IDE?
  1. <?php
  2. namespace App\MDS\EventsBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ProposalBriefingList
  6.  *
  7.  * @ORM\Table(name="proposal_briefing_list")
  8.  * @ORM\Entity(repositoryClass="App\MDS\EventsBundle\Repository\ProposalBriefingListRepository")
  9.  */
  10. class ProposalBriefingList
  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 string
  28.      *
  29.      * @ORM\Column(name="briefing", type="text")
  30.      */
  31.     private $briefing;
  32.     /**
  33.      * @var int
  34.      *
  35.      * @ORM\Column(name="userId", type="integer")
  36.      */
  37.     private $userId;
  38. /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="userName", type="string")
  42.      */
  43.     private $userName;
  44.     /**
  45.      * @var \DateTime
  46.      *
  47.      * @ORM\Column(name="addedAt", type="datetime")
  48.      */
  49.     private $addedAt;
  50.     /**
  51.      * Get id
  52.      *
  53.      * @return int
  54.      */
  55.     public function getId()
  56.     {
  57.         return $this->id;
  58.     }
  59.     /**
  60.      * Set proposalId
  61.      *
  62.      * @param integer $proposalId
  63.      *
  64.      * @return ProposalBriefingList
  65.      */
  66.     public function setProposalId($proposalId)
  67.     {
  68.         $this->proposalId $proposalId;
  69.         return $this;
  70.     }
  71.     /**
  72.      * Get proposalId
  73.      *
  74.      * @return int
  75.      */
  76.     public function getProposalId()
  77.     {
  78.         return $this->proposalId;
  79.     }
  80.     /**
  81.      * Set briefing
  82.      *
  83.      * @param string $briefing
  84.      *
  85.      * @return ProposalBriefingList
  86.      */
  87.     public function setBriefing($briefing)
  88.     {
  89.         $this->briefing $briefing;
  90.         return $this;
  91.     }
  92.     /**
  93.      * Get briefing
  94.      *
  95.      * @return string
  96.      */
  97.     public function getBriefing()
  98.     {
  99.         return $this->briefing;
  100.     }
  101.     
  102.     /**
  103.      * Set userId
  104.      *
  105.      * @param integer $userId
  106.      *
  107.      * @return ProposalBriefingList
  108.      */
  109.     public function setUserId($userId)
  110.     {
  111.         $this->userId $userId;
  112.         return $this;
  113.     }
  114.     /**
  115.      * Get userId
  116.      *
  117.      * @return integer
  118.      */
  119.     public function getUserId()
  120.     {
  121.         return $this->userId;
  122.     }
  123.     /**
  124.      * Set addedAt
  125.      *
  126.      * @param \DateTime $addedAt
  127.      *
  128.      * @return ProposalBriefingList
  129.      */
  130.     public function setAddedAt($addedAt)
  131.     {
  132.         $this->addedAt $addedAt;
  133.         return $this;
  134.     }
  135.     /**
  136.      * Get addedAt
  137.      *
  138.      * @return \DateTime
  139.      */
  140.     public function getAddedAt()
  141.     {
  142.         return $this->addedAt;
  143.     }
  144.     /**
  145.      * Actual Date Time
  146.      *
  147.      * @return ProposalBriefingList
  148.      */
  149.     public function setActualTime()
  150.     {
  151.         $this->addedAt = new \DateTime();
  152.         return $this;
  153.     }
  154.     /**
  155.      * Set userName
  156.      *
  157.      * @param string $userName
  158.      *
  159.      * @return ProposalBriefingList
  160.      */
  161.     public function setUserName($userName)
  162.     {
  163.         $this->userName $userName;
  164.         return $this;
  165.     }
  166.     /**
  167.      * Get userName
  168.      *
  169.      * @return string
  170.      */
  171.     public function getUserName()
  172.     {
  173.         return $this->userName;
  174.     }
  175. }