src/Entity/CRM/LeaveRequestAllocation.php line 9
<?phpnamespace App\Entity\CRM;use App\Repository\CRM\LeaveRequestAllocationRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: LeaveRequestAllocationRepository::class)]class LeaveRequestAllocation{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'leaveRequestAllocations')]#[ORM\JoinColumn(nullable: false)]private ?WorkTime $workTime = null;#[ORM\ManyToOne(inversedBy: 'leaveRequestAllocations')]#[ORM\JoinColumn(nullable: false)]private ?LeaveRequest $leaveRequest = null;#[ORM\Column]private ?int $minutesUsed = null;#[ORM\Column(length: 20)]private ?string $usageType = null;public function getId(): ?int{return $this->id;}public function getWorkTime(): ?WorkTime{return $this->workTime;}public function setWorkTime(?WorkTime $workTime): static{$this->workTime = $workTime;return $this;}public function getLeaveRequest(): ?LeaveRequest{return $this->leaveRequest;}public function setLeaveRequest(?LeaveRequest $leaveRequest): static{$this->leaveRequest = $leaveRequest;return $this;}public function getMinutesUsed(): ?int{return $this->minutesUsed;}public function setMinutesUsed(int $minutesUsed): static{$this->minutesUsed = $minutesUsed;return $this;}public function getUsageType(): ?string{return $this->usageType;}public function setUsageType(string $usageType): static{$this->usageType = $usageType;return $this;}}