using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.SignalR;

namespace Meezi.Admin.API.Hubs;

/// <summary>Shared hub name with merchant API so café dashboards receive platform broadcasts.</summary>
[Authorize(Roles = "SystemAdmin")]
public class KdsHub : Hub
{
    public static string GroupName(string cafeId) => $"cafe:{cafeId}";
}
