namespace NATS.Server.Subscriptions;

public sealed record RemoteSubscription(
    string Subject,
    string? Queue,
    string RouteId,
    string Account = "$G",
    int QueueWeight = 1,
    bool IsRemoval = false)
{
    public static RemoteSubscription Removal(string subject, string? queue, string routeId, string account = "$G")
        => new(subject, queue, routeId, account, QueueWeight: 1, IsRemoval: true);
}
