<?php

namespace App\Enums;

enum RoleName: string
{
    case SuperAdmin = 'super_admin';
    case Admin = 'admin';
    case Support = 'support';
    case Customer = 'customer';

    public function label(): string
    {
        return match ($this) {
            self::SuperAdmin => 'Süper Admin', self::Admin => 'Admin',
            self::Support => 'Destek', self::Customer => 'Müşteri',
        };
    }
}
