<?phpnamespace App\Entity;use App\Repository\EmployeeAdvanceRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=EmployeeAdvanceRepository::class) */class EmployeeAdvance{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Employee::class, inversedBy="employeeAdvances") * @ORM\JoinColumn(nullable=false) */ private $employee; /** * @ORM\Column(type="float") */ private $year; /** * @ORM\Column(type="float") */ private $month; /** * @ORM\Column(type="float") */ private $amount; /** * @ORM\Column(type="float") */ private $advanceOne; /** * @ORM\Column(type="float") */ private $advanceTwo; /** * @ORM\Column(type="float") */ private $advanceThree; public function getId(): ?int { return $this->id; } public function getEmployee(): ?Employee { return $this->employee; } public function setEmployee(?Employee $employee): self { $this->employee = $employee; return $this; } public function getYear(): ?float { return $this->year; } public function setYear(float $year): self { $this->year = $year; return $this; } public function getMonth(): ?float { return $this->month; } public function setMonth(float $month): self { $this->month = $month; return $this; } public function getAmount(): ?float { return $this->amount; } public function setAmount(float $amount): self { $this->amount = $amount; return $this; } public function getAdvanceOne(): ?float { return $this->advanceOne; } public function setAdvanceOne(float $advanceOne): self { $this->advanceOne = $advanceOne; return $this; } public function getAdvanceTwo(): ?float { return $this->advanceTwo; } public function setAdvanceTwo(float $advanceTwo): self { $this->advanceTwo = $advanceTwo; return $this; } public function getAdvanceThree(): ?float { return $this->advanceThree; } public function setAdvanceThree(float $advanceThree): self { $this->advanceThree = $advanceThree; return $this; }}