<?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,
    ) {}
}
