src/Entity/RequestForProposalGroupRights.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * RequestForProposalGroupRights
  6.  *
  7.  * @ORM\Table(name="request_for_proposal_group_rights")
  8.  * @ORM\Entity(repositoryClass="App\Repository\RequestForProposalGroupRightsRepository")
  9.  */
  10. class RequestForProposalGroupRights
  11. {
  12.     const PROP_UID 'uid';
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer")
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity="App\Entity\RequestForProposal", inversedBy="groupRights")
  23.      * @ORM\JoinColumn(name="rfp_id", referencedColumnName="id")
  24.      */
  25.     private $rfp;
  26.     /**
  27.      * @ORM\Column(name="uid", type="string", length=255)
  28.      */
  29.     private $uid;
  30.     /**
  31.      * Get id
  32.      *
  33.      * @return integer
  34.      */
  35.     public function getId()
  36.     {
  37.         return $this->id;
  38.     }
  39.     /**
  40.      * Get uid
  41.      *
  42.      * @return string
  43.      */
  44.     public function getUid()
  45.     {
  46.         return $this->uid;
  47.     }
  48.     /**
  49.      * Set uid
  50.      *
  51.      * @param string $uid
  52.      *
  53.      * @return RequestForProposalGroupRights
  54.      */
  55.     public function setUid($uid)
  56.     {
  57.         $this->uid $uid;
  58.         return $this;
  59.     }
  60.     /**
  61.      * Get document
  62.      *
  63.      * @return RequestForProposalGroupRights
  64.      */
  65.     public function getRfp()
  66.     {
  67.         return $this->rfp;
  68.     }
  69.     /**
  70.      * Set document
  71.      *
  72.      * @param RequestForProposal $rfp
  73.      *
  74.      * @return RequestForProposalGroupRights
  75.      */
  76.     public function setRfp(RequestForProposal $rfp null)
  77.     {
  78.         $this->rfp $rfp;
  79.         return $this;
  80.     }
  81. }