src/Entity/Refrence.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RefrenceRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=RefrenceRepository::class)
  7.  */
  8. class Refrence
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $Name;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $Email;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $Affiliation;
  28.     /**
  29.      * @ORM\Column(type="string", length=255)
  30.      */
  31.     private $JobTitle;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $Phone;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $Address;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $RefLetter;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity=Applicant::class, inversedBy="Ref")
  46.      */
  47.     private $applicant;
  48.     public function getId(): ?int
  49.     {
  50.         return $this->id;
  51.     }
  52.     public function getName(): ?string
  53.     {
  54.         return $this->Name;
  55.     }
  56.     public function setName(string $Name): self
  57.     {
  58.         $this->Name $Name;
  59.         return $this;
  60.     }
  61.     public function getEmail(): ?string
  62.     {
  63.         return $this->Email;
  64.     }
  65.     public function setEmail(string $Email): self
  66.     {
  67.         $this->Email $Email;
  68.         return $this;
  69.     }
  70.     public function getAffiliation(): ?string
  71.     {
  72.         return $this->Affiliation;
  73.     }
  74.     public function setAffiliation(string $Affiliation): self
  75.     {
  76.         $this->Affiliation $Affiliation;
  77.         return $this;
  78.     }
  79.     public function getJobTitle(): ?string
  80.     {
  81.         return $this->JobTitle;
  82.     }
  83.     public function setJobTitle(string $JobTitle): self
  84.     {
  85.         $this->JobTitle $JobTitle;
  86.         return $this;
  87.     }
  88.     public function getPhone(): ?string
  89.     {
  90.         return $this->Phone;
  91.     }
  92.     public function setPhone(string $Phone): self
  93.     {
  94.         $this->Phone $Phone;
  95.         return $this;
  96.     }
  97.     public function getAddress(): ?string
  98.     {
  99.         return $this->Address;
  100.     }
  101.     public function setAddress(?string $Address): self
  102.     {
  103.         $this->Address $Address;
  104.         return $this;
  105.     }
  106.     public function getRefLetter(): ?string
  107.     {
  108.         return $this->RefLetter;
  109.     }
  110.     public function setRefLetter(string $RefLetter): self
  111.     {
  112.         $this->RefLetter $RefLetter;
  113.         return $this;
  114.     }
  115.     public function getApplicant(): ?Applicant
  116.     {
  117.         return $this->applicant;
  118.     }
  119.     public function setApplicant(?Applicant $applicant): self
  120.     {
  121.         $this->applicant $applicant;
  122.         return $this;
  123.     }
  124. }