mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 03:11:10 +00:00
19 lines
918 B
C#
19 lines
918 B
C#
#region ========================================================================= USING =====================================================================================
|
|
using System.Diagnostics;
|
|
#endregion
|
|
|
|
namespace Lumina.Presentation.Web.Common.DTO.MediaConsumption;
|
|
|
|
/// <summary>
|
|
/// Data transfer object for the consumption statistics of a genre, grouped across media kinds.
|
|
/// </summary>
|
|
/// <param name="Name">The lowercase name of the genre.</param>
|
|
/// <param name="ConsumedItemCount">The number of distinct media items that carry the genre and were consumed.</param>
|
|
/// <param name="ConsumedDurationInSeconds">The active duration consumed in the media items that carry the genre, in seconds.</param>
|
|
[DebuggerDisplay("Name: {Name}; ConsumedItemCount: {ConsumedItemCount}")]
|
|
public sealed record GenreConsumptionDto(
|
|
string Name,
|
|
int ConsumedItemCount,
|
|
double ConsumedDurationInSeconds
|
|
);
|