<?php

declare(strict_types=1);

namespace ImovelZapAi\Owners\Domain\Enums;

enum OwnerType: string
{
    case Person = 'person';
    case Company = 'company';

    public function label(): string
    {
        return match ($this) {
            self::Person => 'Pessoa física',
            self::Company => 'Empresa',
        };
    }
}
