src/Entity/RequestForProposalInterest.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * RequestForProposalInterest
  6.  *
  7.  * @ORM\Table(name="request_for_proposal_interest")
  8.  * @ORM\Entity(repositoryClass="App\Repository\RequestForProposalInterestRepository")
  9.  */
  10. class RequestForProposalInterest
  11. {
  12.     use TimestampableEntity;
  13.     use BlameableEntity;
  14.     /**
  15.      * @var int
  16.      *
  17.      * @ORM\Column(name="id", type="integer")
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @ORM\ManyToOne(targetEntity="App\Entity\RequestForProposal", inversedBy="interests")
  24.      * @ORM\JoinColumn(name="rfp_id", referencedColumnName="id")
  25.      */
  26.     private $rfp;
  27.     /**
  28.      * @ORM\Column(name="codeops", type="string", length=255)
  29.      */
  30.     private $codeops;
  31.     /**
  32.      * @ORM\Column(name="document_id", type="integer", nullable=true)
  33.      */
  34.     private $documentId;
  35.     /**
  36.      * Get id
  37.      *
  38.      * @return integer
  39.      */
  40.     public function getId()
  41.     {
  42.         return $this->id;
  43.     }
  44.     /**
  45.      * Get uid
  46.      *
  47.      * @return string
  48.      */
  49.     public function getCodeops()
  50.     {
  51.         return $this->codeops;
  52.     }
  53.     /**
  54.      * Set codeops
  55.      *
  56.      * @param string $codeops
  57.      *
  58.      * @return RequestForProposalInterest
  59.      */
  60.     public function setCodeops($codeops)
  61.     {
  62.         $this->codeops $codeops;
  63.         return $this;
  64.     }
  65.     /**
  66.      * Get document
  67.      *
  68.      * @return RequestForProposalInterest
  69.      */
  70.     public function getRfp()
  71.     {
  72.         return $this->rfp;
  73.     }
  74.     /**
  75.      * Set document
  76.      *
  77.      * @param RequestForProposal $rfp
  78.      *
  79.      * @return RequestForProposalInterest
  80.      */
  81.     public function setRfp(RequestForProposal $rfp null)
  82.     {
  83.         $this->rfp $rfp;
  84.         return $this;
  85.     }
  86.     /**
  87.      * @return integer
  88.      */
  89.     public function getDocumentId()
  90.     {
  91.         return $this->documentId;
  92.     }
  93.     /**
  94.      * @param integer $documentId
  95.      * @return RequestForProposalInterest
  96.      */
  97.     public function setDocumentId($documentId)
  98.     {
  99.         $this->documentId $documentId;
  100.         return $this;
  101.     }
  102. }