<?php

namespace App\Domain\Inventory\Enums;

enum StockCountStatus: string
{
    case Open = 'open';
    case InProgress = 'in_progress';
    case Completed = 'completed';
    case Cancelled = 'cancelled';

    public function label(): string
    {
        return match ($this) {
            self::Open => 'مفتوح',
            self::InProgress => 'جارٍ',
            self::Completed => 'مكتمل',
            self::Cancelled => 'ملغى',
        };
    }
}
