<?phpnamespace App\Entity;use App\Repository\LegacyEmployeRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=LegacyEmployeRepository::class) */class LegacyEmploye{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $firstName; /** * @ORM\Column(type="string", length=255) */ private $lastName; /** * @ORM\Column(type="integer") */ private $legacyId; /** * @ORM\Column(type="date", nullable=true) */ private $birthDate; /** * @ORM\ManyToOne(targetEntity=Contact::class, inversedBy="legacyEmployes") */ private $contact; public function getId(): ?int { return $this->id; } public function getFirstName(): ?string { return $this->firstName; } public function setFirstName(string $firstName): self { $this->firstName = $firstName; return $this; } public function getLastName(): ?string { return $this->lastName; } public function setLastName(string $lastName): self { $this->lastName = $lastName; return $this; } public function getLegacyId(): ?int { return $this->legacyId; } public function setLegacyId(int $legacyId): self { $this->legacyId = $legacyId; return $this; } public function getBirthDate(): ?\DateTimeInterface { return $this->birthDate; } public function setBirthDate(?\DateTimeInterface $birthDate): self { $this->birthDate = $birthDate; return $this; } public function getContact(): ?Contact { return $this->contact; } public function setContact(?Contact $contact): self { $this->contact = $contact; return $this; }}