<?php
namespace App\Entity;
use App\Repository\RefrenceRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=RefrenceRepository::class)
*/
class Refrence
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $Name;
/**
* @ORM\Column(type="string", length=255)
*/
private $Email;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Affiliation;
/**
* @ORM\Column(type="string", length=255)
*/
private $JobTitle;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Phone;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Address;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $RefLetter;
/**
* @ORM\ManyToOne(targetEntity=Applicant::class, inversedBy="Ref")
*/
private $applicant;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->Name;
}
public function setName(string $Name): self
{
$this->Name = $Name;
return $this;
}
public function getEmail(): ?string
{
return $this->Email;
}
public function setEmail(string $Email): self
{
$this->Email = $Email;
return $this;
}
public function getAffiliation(): ?string
{
return $this->Affiliation;
}
public function setAffiliation(string $Affiliation): self
{
$this->Affiliation = $Affiliation;
return $this;
}
public function getJobTitle(): ?string
{
return $this->JobTitle;
}
public function setJobTitle(string $JobTitle): self
{
$this->JobTitle = $JobTitle;
return $this;
}
public function getPhone(): ?string
{
return $this->Phone;
}
public function setPhone(string $Phone): self
{
$this->Phone = $Phone;
return $this;
}
public function getAddress(): ?string
{
return $this->Address;
}
public function setAddress(?string $Address): self
{
$this->Address = $Address;
return $this;
}
public function getRefLetter(): ?string
{
return $this->RefLetter;
}
public function setRefLetter(string $RefLetter): self
{
$this->RefLetter = $RefLetter;
return $this;
}
public function getApplicant(): ?Applicant
{
return $this->applicant;
}
public function setApplicant(?Applicant $applicant): self
{
$this->applicant = $applicant;
return $this;
}
}