Перевод на доменную архитектуру
This commit is contained in:
22
app/Application/Reports/DTO/ReportComparisonResult.php
Normal file
22
app/Application/Reports/DTO/ReportComparisonResult.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Application\Reports\DTO;
|
||||
|
||||
final readonly class ReportComparisonResult
|
||||
{
|
||||
/**
|
||||
* @param array<string, mixed> $diff
|
||||
*/
|
||||
public function __construct(
|
||||
public string $reportType,
|
||||
public string $path,
|
||||
public string $status,
|
||||
public array $diff,
|
||||
public int $departmentId,
|
||||
public int $userId,
|
||||
public string $periodStart,
|
||||
public string $periodEnd,
|
||||
public ?int $reportId,
|
||||
public float $durationMs,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user