<?php

namespace App\Enums;

enum SaleOrigin: string
{
    case Manual    = 'manual';
    case Upwork    = 'upwork';
    case Renovacion = 'renovacion';

    public function label(): string
    {
        return match($this) {
            self::Manual     => 'Manual',
            self::Upwork     => 'Upwork',
            self::Renovacion => 'Renovación',
        };
    }
}
