feat(night-contingent) : DTO NightContingentRow
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Dto\WorkHours;
|
||||
|
||||
final class NightContingentRow
|
||||
{
|
||||
/**
|
||||
* @param array<int, array{nightMinutes: int, nightDays: int}> $months clé 1..12
|
||||
*/
|
||||
public function __construct(
|
||||
public readonly int $employeeId,
|
||||
public readonly string $employeeName,
|
||||
public readonly array $months,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user