<?php

declare(strict_types=1);

namespace ImovelZapAi\Billing\Domain\Enums;

enum PlanFeature: string
{
    case Whatsapp = 'whatsapp';
    case Portal = 'portal';
    case AiBasic = 'ai_basic';
    case ManagerDashboard = 'manager_dashboard';
    case Automations = 'automations';
    case Analytics = 'analytics';
    case Api = 'api';
    case Branches = 'branches';

    public function label(): string
    {
        return match ($this) {
            self::Whatsapp => 'WhatsApp',
            self::Portal => 'Portal do cliente',
            self::AiBasic => 'Assistente básico',
            self::ManagerDashboard => 'Dashboard gestor',
            self::Automations => 'Automações',
            self::Analytics => 'Indicadores',
            self::Api => 'API',
            self::Branches => 'Filiais',
        };
    }
}
