src/Entity/Applicant.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ApplicantRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity(repositoryClass=ApplicantRepository::class)
  9.  */
  10. class Applicant
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=255)
  20.      */
  21.     private $Name;
  22.     /**
  23.      * @ORM\Column(type="string", length=255)
  24.      */
  25.     private $Email;
  26.     /**
  27.      * @ORM\Column(type="text")
  28.      */
  29.     private $Address;
  30.     /**
  31.      * @ORM\Column(type="string", length=255)
  32.      */
  33.     private $Degree;
  34.     /**
  35.      * @ORM\Column(type="string", length=255)
  36.      */
  37.     private $CurrentPosition;
  38.     /**
  39.      * @ORM\Column(type="string", length=255)
  40.      */
  41.     private $Division;
  42.     /**
  43.      * @ORM\Column(type="string", length=255)
  44.      */
  45.     private $ApplicationForm;
  46.     /**
  47.      * @ORM\Column(type="string", length=255)
  48.      */
  49.     private $Personal;
  50.     /**
  51.      * @ORM\Column(type="string", length=255)
  52.      */
  53.     private $CV;
  54.     /**
  55.      * @ORM\Column(type="string", length=255)
  56.      */
  57.     private $USMLE;
  58.     /**
  59.      * @ORM\Column(type="string", length=255)
  60.      */
  61.     private $DeanLetter;
  62.     /**
  63.      * @ORM\Column(type="string", length=255)
  64.      */
  65.     private $MedSchoolD;
  66.     /**
  67.      * @ORM\Column(type="string", length=255)
  68.      */
  69.     private $Ref1Name;
  70.     /**
  71.      * @ORM\Column(type="string", length=255)
  72.      */
  73.     private $Ref1Email;
  74.     /**
  75.      * @ORM\Column(type="string", length=255, nullable=true)
  76.      */
  77.     private $Ref1Letter;
  78.     /**
  79.      * @ORM\Column(type="string", length=255)
  80.      */
  81.     private $Ref2Name;
  82.     /**
  83.      * @ORM\Column(type="string", length=255)
  84.      */
  85.     private $Ref2Email;
  86.     /**
  87.      * @ORM\Column(type="string", length=255, nullable=true)
  88.      */
  89.     private $Ref2Letter;
  90.     /**
  91.      * @ORM\Column(type="string", length=255)
  92.      */
  93.     private $Ref3Name;
  94.     /**
  95.      * @ORM\Column(type="string", length=255)
  96.      */
  97.     private $Ref3Email;
  98.     /**
  99.      * @ORM\Column(type="string", length=255, nullable=true)
  100.      */
  101.     private $Ref3Letter;
  102.     /**
  103.      * @ORM\OneToMany(targetEntity=Refrence::class, mappedBy="applicant")
  104.      */
  105.     private $Ref;
  106.     /**
  107.      * @ORM\Column(type="string", length=255)
  108.      */
  109.     private $Phone;
  110.     /**
  111.      * @ORM\Column(type="string", length=255, nullable=true)
  112.      */
  113.     private $status;
  114.     /**
  115.      * @ORM\Column(type="text", nullable=true)
  116.      */
  117.     private $notes;
  118.     /**
  119.      * @ORM\Column(type="integer", nullable=true)
  120.      */
  121.     private $RefLtNum;
  122.     public function __construct()
  123.     {
  124.         $this->Ref = new ArrayCollection();
  125.     }
  126.     public function getId(): ?int
  127.     {
  128.         return $this->id;
  129.     }
  130.     public function getName(): ?string
  131.     {
  132.         return $this->Name;
  133.     }
  134.     public function setName(string $Name): self
  135.     {
  136.         $this->Name $Name;
  137.         return $this;
  138.     }
  139.     public function getEmail(): ?string
  140.     {
  141.         return $this->Email;
  142.     }
  143.     public function setEmail(string $Email): self
  144.     {
  145.         $this->Email $Email;
  146.         return $this;
  147.     }
  148.     public function getAddress(): ?string
  149.     {
  150.         return $this->Address;
  151.     }
  152.     public function setAddress(string $Address): self
  153.     {
  154.         $this->Address $Address;
  155.         return $this;
  156.     }
  157.     public function getDegree(): ?string
  158.     {
  159.         return $this->Degree;
  160.     }
  161.     public function setDegree(string $Degree): self
  162.     {
  163.         $this->Degree $Degree;
  164.         return $this;
  165.     }
  166.     public function getCurrentPosition(): ?string
  167.     {
  168.         return $this->CurrentPosition;
  169.     }
  170.     public function setCurrentPosition(string $CurrentPosition): self
  171.     {
  172.         $this->CurrentPosition $CurrentPosition;
  173.         return $this;
  174.     }
  175.     public function getDivision(): ?string
  176.     {
  177.         return $this->Division;
  178.     }
  179.     public function setDivision(string $Division): self
  180.     {
  181.         $this->Division $Division;
  182.         return $this;
  183.     }
  184.     public function getApplicationForm(): ?string
  185.     {
  186.         return $this->ApplicationForm;
  187.     }
  188.     public function setApplicationForm(string $ApplicationForm): self
  189.     {
  190.         $this->ApplicationForm $ApplicationForm;
  191.         return $this;
  192.     }
  193.     public function getPersonal(): ?string
  194.     {
  195.         return $this->Personal;
  196.     }
  197.     public function setPersonal(string $Personal): self
  198.     {
  199.         $this->Personal $Personal;
  200.         return $this;
  201.     }
  202.     public function getCV(): ?string
  203.     {
  204.         return $this->CV;
  205.     }
  206.     public function setCV(string $CV): self
  207.     {
  208.         $this->CV $CV;
  209.         return $this;
  210.     }
  211.     public function getUSMLE(): ?string
  212.     {
  213.         return $this->USMLE;
  214.     }
  215.     public function setUSMLE(string $USMLE): self
  216.     {
  217.         $this->USMLE $USMLE;
  218.         return $this;
  219.     }
  220.     public function getDeanLetter(): ?string
  221.     {
  222.         return $this->DeanLetter;
  223.     }
  224.     public function setDeanLetter(string $DeanLetter): self
  225.     {
  226.         $this->DeanLetter $DeanLetter;
  227.         return $this;
  228.     }
  229.     public function getMedSchoolD(): ?string
  230.     {
  231.         return $this->MedSchoolD;
  232.     }
  233.     public function setMedSchoolD(string $MedSchoolD): self
  234.     {
  235.         $this->MedSchoolD $MedSchoolD;
  236.         return $this;
  237.     }
  238.     public function getRef1Name(): ?string
  239.     {
  240.         return $this->Ref1Name;
  241.     }
  242.     public function setRef1Name(string $Ref1Name): self
  243.     {
  244.         $this->Ref1Name $Ref1Name;
  245.         return $this;
  246.     }
  247.     public function getRef1Email(): ?string
  248.     {
  249.         return $this->Ref1Email;
  250.     }
  251.     public function setRef1Email(string $Ref1Email): self
  252.     {
  253.         $this->Ref1Email $Ref1Email;
  254.         return $this;
  255.     }
  256.     public function getRef1Letter(): ?string
  257.     {
  258.         return $this->Ref1Letter;
  259.     }
  260.     public function setRef1Letter(?string $Ref1Letter): self
  261.     {
  262.         $this->Ref1Letter $Ref1Letter;
  263.         return $this;
  264.     }
  265.     public function getRef2Name(): ?string
  266.     {
  267.         return $this->Ref2Name;
  268.     }
  269.     public function setRef2Name(string $Ref2Name): self
  270.     {
  271.         $this->Ref2Name $Ref2Name;
  272.         return $this;
  273.     }
  274.     public function getRef2Email(): ?string
  275.     {
  276.         return $this->Ref2Email;
  277.     }
  278.     public function setRef2Email(string $Ref2Email): self
  279.     {
  280.         $this->Ref2Email $Ref2Email;
  281.         return $this;
  282.     }
  283.     public function getRef2Letter(): ?string
  284.     {
  285.         return $this->Ref2Letter;
  286.     }
  287.     public function setRef2Letter(?string $Ref2Letter): self
  288.     {
  289.         $this->Ref2Letter $Ref2Letter;
  290.         return $this;
  291.     }
  292.     public function getRef3Name(): ?string
  293.     {
  294.         return $this->Ref3Name;
  295.     }
  296.     public function setRef3Name(string $Ref3Name): self
  297.     {
  298.         $this->Ref3Name $Ref3Name;
  299.         return $this;
  300.     }
  301.     public function getRef3Email(): ?string
  302.     {
  303.         return $this->Ref3Email;
  304.     }
  305.     public function setRef3Email(string $Ref3Email): self
  306.     {
  307.         $this->Ref3Email $Ref3Email;
  308.         return $this;
  309.     }
  310.     public function getRef3Letter(): ?string
  311.     {
  312.         return $this->Ref3Letter;
  313.     }
  314.     public function setRef3Letter(?string $Ref3Letter): self
  315.     {
  316.         $this->Ref3Letter $Ref3Letter;
  317.         return $this;
  318.     }
  319.     /**
  320.      * @return Collection<int, Refrence>
  321.      */
  322.     public function getRef(): Collection
  323.     {
  324.         return $this->Ref;
  325.     }
  326.     public function addRef(Refrence $ref): self
  327.     {
  328.         if (!$this->Ref->contains($ref)) {
  329.             $this->Ref[] = $ref;
  330.             $ref->setApplicant($this);
  331.         }
  332.         return $this;
  333.     }
  334.     public function removeRef(Refrence $ref): self
  335.     {
  336.         if ($this->Ref->removeElement($ref)) {
  337.             // set the owning side to null (unless already changed)
  338.             if ($ref->getApplicant() === $this) {
  339.                 $ref->setApplicant(null);
  340.             }
  341.         }
  342.         return $this;
  343.     }
  344.     public function getPhone(): ?string
  345.     {
  346.         return $this->Phone;
  347.     }
  348.     public function setPhone(string $Phone): self
  349.     {
  350.         $this->Phone $Phone;
  351.         return $this;
  352.     }
  353.     public function getStatus(): ?string
  354.     {
  355.         return $this->status;
  356.     }
  357.     public function setStatus(?string $status): self
  358.     {
  359.         $this->status $status;
  360.         return $this;
  361.     }
  362.     public function getNotes(): ?string
  363.     {
  364.         return $this->notes;
  365.     }
  366.     public function setNotes(?string $notes): self
  367.     {
  368.         $this->notes $notes;
  369.         return $this;
  370.     }
  371.     public function getRefLtNum(): ?int
  372.     {
  373.         return $this->RefLtNum;
  374.     }
  375.     public function setRefLtNum(?int $RefLtNum): self
  376.     {
  377.         $this->RefLtNum $RefLtNum;
  378.         return $this;
  379.     }
  380. }