<?php

declare(strict_types=1);

namespace App\Support\Reports;

use App\Enums\ReportCategory;

/**
 * The lightweight metadata shown on the Reports landing page — title,
 * description, category — without building the full query/column/filter
 * definition behind it. Building all twenty-two full definitions on every
 * visit to `/reports` would run every report's lookup-option queries
 * (categories, teams, employees, users…) for reports nobody is
 * looking at; a summary costs nothing to construct.
 */
final readonly class ReportSummary
{
    public function __construct(
        public string $key,
        public ReportCategory $category,
        public string $title,
        public string $description,
        public string $icon,
    ) {}
}
