feat : ajout de la gestion des heures chauffeurs
All checks were successful
Auto Tag Develop / tag (push) Successful in 8s
All checks were successful
Auto Tag Develop / tag (push) Successful in 8s
This commit is contained in:
@@ -39,6 +39,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 $isDriver = false;
|
||||
|
||||
#[ORM\Column(type: 'boolean', options: ['default' => false])]
|
||||
private bool $paidLeaveSettled = false;
|
||||
|
||||
@@ -137,6 +140,18 @@ class EmployeeContractPeriod
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
||||
public function getIsDriver(): bool
|
||||
{
|
||||
return $this->isDriver;
|
||||
}
|
||||
|
||||
public function setIsDriver(bool $isDriver): self
|
||||
{
|
||||
$this->isDriver = $isDriver;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isPaidLeaveSettled(): bool
|
||||
{
|
||||
return $this->paidLeaveSettled;
|
||||
|
||||
Reference in New Issue
Block a user