<?php

namespace App\Modules\Dashboard\DTOs;

readonly class DashboardViewData
{
    /**
     * @param  list<ModuleCardData>  $modules
     * @param  list<array{key: string, label: string, value: int|string, icon: string}>  $statCards
     * @param  list<ActionCenterWidgetData>  $actionWidgets
     * @param  list<OperationalAlertItem>  $attentionAlerts
     */
    public function __construct(
        public ?string $planName,
        public string $subscriptionStatusKey,
        public ?int $trialDaysLeft,
        public bool $isTrial,
        public array $modules,
        public array $statCards,
        public array $actionWidgets = [],
        public array $attentionAlerts = [],
    ) {}
}
