<?phpnamespace App\Entity;use App\Entity\Offer\Offer;use App\Entity\Traits\IdTrait;use App\Entity\Traits\TimeStampAbleTrait;use App\Repository\ApplicationRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=ApplicationRepository::class) * @ORM\HasLifecycleCallbacks */class Application{ use IdTrait; use TimeStampAbleTrait; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $fullName; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $email; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $phone; /** * @ORM\ManyToOne(targetEntity=File::class, inversedBy="application") * @ORM\JoinColumn(nullable=true) */ private $file; /** * @ORM\ManyToOne(targetEntity=Offer::class, inversedBy="application") * @ORM\JoinColumn(nullable=true) */ private $offer; /** * @ORM\ManyToOne(targetEntity=Offer::class) * @ORM\JoinColumn(nullable=true) */ private $mainOffer; public function getFullName(): ?string { return $this->fullName; } public function setFullName(?string $fullName): self { $this->fullName = $fullName; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(?string $email): self { $this->email = $email; return $this; } public function getPhone(): ?string { return $this->phone; } public function setPhone(?string $phone): self { $this->phone = $phone; return $this; } public function getFile(): ?File { return $this->file; } public function setFile(?File $file): self { $this->file = $file; return $this; } public function getOffer(): ?Offer { return $this->offer; } public function setOffer(?Offer $offer): self { $this->offer = $offer; return $this; } public function getMainOffer() { return $this->mainOffer; } public function setMainOffer($mainOffer): self { $this->mainOffer = $mainOffer; return $this; }}