<?php

namespace App\Enums;

enum WorkDayType: string
{
    case Holiday = 'holiday';       // Munkaszüneti nap
    case WorkingDay = 'working_day'; // Plusz munkanap (pl. szombat)

    public function label(): string
    {
        return match($this) {
            self::Holiday => 'Munkaszüneti nap',
            self::WorkingDay => 'Áthelyezett munkanap',
        };
    }

    public function color(): string
    {
        return match($this) {
            self::Holiday => 'danger',
            self::WorkingDay => 'success',
        };
    }
}
