using System.Collections.Generic;

namespace ZB.MOM.WW.LmxProxy.Host.Domain
{
    /// <summary>
    ///     Subscription statistics for all clients and tags.
    /// </summary>
    public class SubscriptionStats
    {
        /// <summary>
        ///     Gets or sets the total number of clients.
        /// </summary>
        public int TotalClients { get; set; }

        /// <summary>
        ///     Gets or sets the total number of tags.
        /// </summary>
        public int TotalTags { get; set; }

        /// <summary>
        ///     Gets or sets the mapping of tag addresses to client counts.
        /// </summary>
        public Dictionary<string, int> TagClientCounts { get; set; } = new();

        /// <summary>
        ///     Gets or sets the mapping of client IDs to their statistics.
        /// </summary>
        public Dictionary<string, ClientStats> ClientStats { get; set; } = new();
    }
}
