<?php

declare(strict_types=1);

namespace ImovelZapAi\Financial\Domain\Enums;

enum DealFinanceType: string
{
    case Sale = 'sale';
    case Rent = 'rent';
    case Listing = 'listing';
    case Any = 'any';

    public function label(): string
    {
        return match ($this) {
            self::Sale => 'Venda',
            self::Rent => 'Locação',
            self::Listing => 'Captação',
            self::Any => 'Qualquer',
        };
    }
}
