<?php

declare(strict_types=1);

namespace App\Module\Directory\Domain\Enum;

enum ProspectStatus: string
{
    case New       = 'new';
    case Contacted = 'contacted';
    case Qualified = 'qualified';
    case Won       = 'won';
    case Lost      = 'lost';

    public function label(): string
    {
        return match ($this) {
            self::New       => 'Nouveau',
            self::Contacted => 'Contacté',
            self::Qualified => 'Qualifié',
            self::Won       => 'Gagné',
            self::Lost      => 'Perdu',
        };
    }
}
