35 lines
989 B
PHP
35 lines
989 B
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 $weeklyTotalMinutes,
|
|
public float $weeklyPresenceCount,
|
|
public int $weeklyOvertimeTotalMinutes,
|
|
public int $weeklyOvertime25Minutes,
|
|
public int $weeklyOvertime50Minutes,
|
|
public int $weeklyRecoveryMinutes,
|
|
public bool $isDriver = false,
|
|
public int $weeklyBreakfastCount = 0,
|
|
public int $weeklyLunchCount = 0,
|
|
public int $weeklyOvernightCount = 0,
|
|
) {}
|
|
}
|