<?php

declare(strict_types=1);

namespace ImovelZapAi\Financial\Domain\Enums;

enum CommissionBasis: string
{
    case Percent = 'percent';
    case Fixed = 'fixed';

    public function label(): string
    {
        return match ($this) {
            self::Percent => 'Percentual',
            self::Fixed => 'Valor fixo',
        };
    }
}
