<?php

declare(strict_types=1);

namespace App\Support\Tenants;

use App\Support\Audit\AuditActionId;

final readonly class TenantActionDescriptor
{
    public function __construct(
        public string $key,
        public TenantActionFamily $family,
        public string $label,
        public string $icon,
        public bool $visible = true,
        public bool $enabled = true,
        public bool $destructive = false,
        public bool $requiresConfirmation = false,
        public ?AuditActionId $auditActionId = null,
        public ?string $successNotificationTitle = null,
        public ?string $successNotificationBody = null,
        public ?string $modalHeading = null,
        public ?string $modalDescription = null,
        public string $group = 'overflow',
    ) {}
}
