Gestion du changement de type de contrat + correction du calcule des RTT sur un contrat qui commence en milieu de semaine (#19)
Auto Tag Develop / tag (push) Has been cancelled
Auto Tag Develop / tag (push) Has been cancelled
| Numéro du ticket | Titre du ticket | |------------------|-----------------| | | | ## Description de la PR ## Modification du .env ## Check list - [x] Pas de régression - [x] TU/TI/TF rédigée - [x] TU/TI/TF OK - [x] CHANGELOG modifié Reviewed-on: #19 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
This commit was merged in pull request #19.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Dto\Contracts;
|
||||
|
||||
use App\Enum\ContractNature;
|
||||
use App\Enum\ContractType;
|
||||
use DateTimeImmutable;
|
||||
|
||||
final readonly class ContractPhase
|
||||
{
|
||||
/**
|
||||
* @param list<int> $periodIds
|
||||
*/
|
||||
public function __construct(
|
||||
public int $id,
|
||||
public ContractType $contractType,
|
||||
public ?int $weeklyHours,
|
||||
public bool $isDriver,
|
||||
public DateTimeImmutable $startDate,
|
||||
public ?DateTimeImmutable $endDate,
|
||||
public array $periodIds,
|
||||
public bool $isCurrent,
|
||||
public ContractNature $contractNature,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user