<?php

declare(strict_types=1);

namespace ImovelZapAi\Signatures\Domain\Enums;

enum SignerRole: string
{
    case Buyer = 'buyer';
    case Owner = 'owner';
    case Broker = 'broker';
    case Agency = 'agency';
    case Other = 'other';

    public function label(): string
    {
        return match ($this) {
            self::Buyer => 'Comprador',
            self::Owner => 'Proprietário',
            self::Broker => 'Corretor',
            self::Agency => 'Imobiliária',
            self::Other => 'Outro',
        };
    }
}
