Модуль отчетов
This commit is contained in:
16
app/Services/Reports/ReportPayload.php
Normal file
16
app/Services/Reports/ReportPayload.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Reports;
|
||||
|
||||
readonly class ReportPayload
|
||||
{
|
||||
/**
|
||||
* @param array<string,string> $meta пары "показатель => значение" для шапки отчёта
|
||||
* @param ReportSection[] $sections
|
||||
*/
|
||||
public function __construct(
|
||||
public string $title,
|
||||
public array $meta,
|
||||
public array $sections,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user