#region ========================================================================= USING ===================================================================================== using System.Collections.Generic; using System.Diagnostics; #endregion namespace Lumina.Presentation.Web.Common.DTO.MediaConsumption; /// /// Data transfer object for the combined consumption statistics of every user. /// /// The total duration consumed over every recorded session of every user, in seconds. /// The number of recorded sessions of every user that count towards statistics. /// The number of recorded sessions of every user that completed. /// The number of recorded sessions of every user that stopped before they completed and count towards statistics. /// The fraction of the counted sessions of every user that completed, between 0 and 1, or 0 when there is no counted session. /// The combined consumption statistics broken down by media kind. [DebuggerDisplay("CountedSessionCount: {CountedSessionCount}; CompletedSessionCount: {CompletedSessionCount}")] public sealed record ConsumptionTotalsDto( double TotalConsumedDurationInSeconds, int CountedSessionCount, int CompletedSessionCount, int StoppedSessionCount, double CompletionRate, IReadOnlyList MediaKindSummaries );