<?php

namespace App\Enums;

enum UserRole: string
{
    case SUPER_ADMIN = 'super_admin';
    case CLIENT_ADMIN = 'client_admin';
    case GUARD = 'guard';
    case SUPERVISOR = 'supervisor';
    case MONITORING = 'monitoring';

    public function label(): string
    {
        return match($this) {
            self::SUPER_ADMIN => 'Super Administrador',
            self::CLIENT_ADMIN => 'Administrador de Recinto',
            self::GUARD => 'Guardia de Seguridad',
            self::SUPERVISOR => 'Supervisor',
            self::MONITORING => 'Sala de Monitoreo',
        };
    }
}
