from django.db import models


class ClientStatus(models.TextChoices):
    PENDING = "pending", "A aguardar ativação"
    ACTIVE = "active", "Ativo"
    SPECIAL = "special", "Acompanhamento especial"
    DEBT = "debt", "Com dívida"
    BLOCKED = "blocked", "Bloqueado"
    INACTIVE = "inactive", "Inativo"
    FORMER = "former", "Cliente antigo"


class ServiceType(models.TextChoices):
    DOMAIN = "domain", "Domínio"
    HOSTING = "hosting", "Alojamento web"
    EMAIL = "email", "Email profissional"
    SSL = "ssl", "Certificado SSL"
    MAINTENANCE = "maintenance", "Manutenção"
    WEBSITE = "website", "Website / projeto"
    BACKUP = "backup", "Backup"
    SERVER = "server", "Servidor"
    OTHER = "other", "Outro"


class ServiceStatus(models.TextChoices):
    PROVISIONING = "provisioning", "Em ativação"
    ACTIVE = "active", "Ativo"
    ATTENTION = "attention", "Requer atenção"
    PENDING = "pending", "Pendente"
    OVERDUE = "overdue", "Vencido"
    CANCELLED = "cancelled", "Cancelado"
    SUSPENDED = "suspended", "Suspenso"
    COMPLIMENTARY = "complimentary", "Oferta"
    TRANSFERRED = "transferred", "Transferido"
    CLIENT_DIRECT = "client_direct", "Pago diretamente pelo cliente"
    ARCHIVED = "archived", "Arquivado"


class BillingCycle(models.TextChoices):
    NONE = "none", "Sem recorrência"
    MONTHLY = "monthly", "Mensal"
    QUARTERLY = "quarterly", "Trimestral"
    SEMIANNUAL = "semiannual", "Semestral"
    ANNUAL = "annual", "Anual"
    BIENNIAL = "biennial", "Bianual"
    CUSTOM = "custom", "Outro"


class PaymentMethod(models.TextChoices):
    MBWAY = "mbway", "MB WAY"
    BANK_TRANSFER = "bank_transfer", "Transferência bancária"
    CASH = "cash", "Dinheiro"
    CARD = "card", "Cartão"
    COMPLIMENTARY = "complimentary", "Oferta"
    CLIENT_DIRECT = "client_direct", "Pago diretamente pelo cliente"
    OTHER = "other", "Outro"
