jellyfin-server/MediaBrowser.Model/Entities/ItemSpecialCounts.cs
LukePulverenti Luke Pulverenti luke pulverenti 6c9ecb6d2e Moved a few classes into their own files
2012-09-10 21:37:40 -04:00

24 lines
632 B
C#

using ProtoBuf;
namespace MediaBrowser.Model.Entities
{
/// <summary>
/// Since it can be slow to collect this data, this class helps provide a way to calculate them all at once.
/// </summary>
[ProtoContract]
public class ItemSpecialCounts
{
[ProtoMember(1)]
public int RecentlyAddedItemCount { get; set; }
[ProtoMember(2)]
public int RecentlyAddedUnPlayedItemCount { get; set; }
[ProtoMember(3)]
public int InProgressItemCount { get; set; }
[ProtoMember(4)]
public decimal PlayedPercentage { get; set; }
}
}