feat : ajout de la gestion Congé
This commit is contained in:
@@ -37,6 +37,9 @@ class EmployeeContractPeriod
|
||||
#[ORM\Column(type: 'string', length: 20, options: ['default' => ContractNature::CDI->value])]
|
||||
private string $contractNature = ContractNature::CDI->value;
|
||||
|
||||
#[ORM\Column(type: 'boolean', options: ['default' => false])]
|
||||
private bool $paidLeaveSettled = false;
|
||||
|
||||
#[ORM\Column(type: 'datetime_immutable')]
|
||||
private DateTimeImmutable $createdAt;
|
||||
|
||||
@@ -121,4 +124,16 @@ class EmployeeContractPeriod
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
||||
public function isPaidLeaveSettled(): bool
|
||||
{
|
||||
return $this->paidLeaveSettled;
|
||||
}
|
||||
|
||||
public function setPaidLeaveSettled(bool $paidLeaveSettled): self
|
||||
{
|
||||
$this->paidLeaveSettled = $paidLeaveSettled;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user