<?php

namespace App\Enums;

enum PrinterStatus: string
{
    case Active = 'active';
    case Withdrawn = 'withdrawn';

    public function label(): string
    {
        return match ($this) {
            self::Active => 'Активен',
            self::Withdrawn => 'Повлечен',
        };
    }
}
