<?php

namespace App\Domain\Financial\Enums;

enum ExpenseCategory: string
{
    case Maintenance = 'maintenance';
    case Supplies = 'supplies';
    case Transport = 'transport';
    case FoodBeverage = 'food_beverage';
    case SportsEquipment = 'sports_equipment';
    case Printing = 'printing';
    case Cleaning = 'cleaning';
    case Medical = 'medical';
    case Utilities = 'utilities';
    case Other = 'other';

    public function label(): string
    {
        return match ($this) {
            self::Maintenance => 'صيانة',
            self::Supplies => 'مستلزمات',
            self::Transport => 'نقل ومواصلات',
            self::FoodBeverage => 'طعام ومشروبات',
            self::SportsEquipment => 'أدوات رياضية',
            self::Printing => 'طباعة',
            self::Cleaning => 'نظافة',
            self::Medical => 'طبي',
            self::Utilities => 'مرافق وخدمات',
            self::Other => 'أخرى',
        };
    }
}
