22 lines
483 B
PHP
22 lines
483 B
PHP
<?php
|
|
|
|
namespace App\Domain\Reports\Models;
|
|
|
|
use DateTimeImmutable;
|
|
|
|
final readonly class ReportContext
|
|
{
|
|
/**
|
|
* @param array<string, mixed> $metadata
|
|
*/
|
|
public function __construct(
|
|
public int $departmentId,
|
|
public int $userId,
|
|
public ?int $actorUserId,
|
|
public DateTimeImmutable $periodStart,
|
|
public DateTimeImmutable $periodEnd,
|
|
public string $reportType = 'daily',
|
|
public array $metadata = [],
|
|
) {}
|
|
}
|