<?php

namespace App\Enums;

enum UserStatus: string
{
    case Active = 'active';
    case Suspended = 'suspended';

    public function label(): string
    {
        return match ($this) {
            self::Active => __('enums.user_status.active'),
            self::Suspended => __('enums.user_status.suspended'),
        };
    }
}
