<?php

declare(strict_types=1);

namespace ImovelZapAi\ClientPortal\Domain\Enums;

enum DocumentScanStatus: string
{
    case Pending = 'pending';
    case Clean = 'clean';
    case Infected = 'infected';
    case Skipped = 'skipped';

    public function label(): string
    {
        return match ($this) {
            self::Pending => 'Aguardando verificação',
            self::Clean => 'Verificado',
            self::Infected => 'Bloqueado',
            self::Skipped => 'Verificação dispensada',
        };
    }
}
