eaf8a11e2b
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 - [ ] TU/TI/TF rédigée - [x] TU/TI/TF OK - [ ] CHANGELOG modifié Reviewed-on: #15 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
42 lines
1.3 KiB
PHP
42 lines
1.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Dto\WorkHours;
|
|
|
|
final class WeeklySummaryRow
|
|
{
|
|
/**
|
|
* @param list<WeeklyDaySummary> $daily
|
|
*/
|
|
public function __construct(
|
|
public int $employeeId,
|
|
public string $firstName,
|
|
public string $lastName,
|
|
public ?string $siteName,
|
|
public ?string $contractName,
|
|
public ?string $contractType,
|
|
public ?string $trackingMode,
|
|
public array $daily,
|
|
public int $weeklyDayMinutes,
|
|
public int $weeklyNightMinutes,
|
|
public int $weeklyWorkshopMinutes,
|
|
public int $weeklyTotalMinutes,
|
|
public float $weeklyPresenceCount,
|
|
public int $weeklyOvertimeTotalMinutes,
|
|
public int $weeklyOvertime25Minutes,
|
|
public int $weeklyOvertime50Minutes,
|
|
public int $weeklyRecoveryMinutes,
|
|
public int $weeklyNightBasketCount = 0,
|
|
public bool $isDriver = false,
|
|
public int $weeklyBreakfastCount = 0,
|
|
public int $weeklyLunchCount = 0,
|
|
public int $weeklyDinnerCount = 0,
|
|
public int $weeklyOvernightCount = 0,
|
|
public bool $hasContractForWeek = true,
|
|
public ?string $contractNature = null,
|
|
public ?string $comment = null,
|
|
public ?int $commentId = null,
|
|
) {}
|
|
}
|