Модуль отчетов

This commit is contained in:
brusnitsyn
2026-06-21 23:40:55 +09:00
parent f163b95663
commit bd2cc24b98
27 changed files with 2781 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace App\Services\Reports;
readonly class ReportSection
{
/**
* @param array<string,string> $columns ключ колонки => подпись
* @param array<int,array<string,mixed>> $rows строки данных, ключи соответствуют ключам $columns
*/
public function __construct(
public string $title,
public array $columns,
public array $rows,
) {}
}