2012-08-29 12:21:56 +00:00
|
|
|
|
using ProtoBuf;
|
|
|
|
|
|
2012-08-18 08:22:54 +00:00
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2012-08-18 19:38:27 +00:00
|
|
|
|
/// Since it can be slow to collect this data, this class helps provide a way to calculate them all at once.
|
2012-08-18 08:22:54 +00:00
|
|
|
|
/// </summary>
|
2012-08-29 12:21:56 +00:00
|
|
|
|
[ProtoContract]
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public class ItemSpecialCounts
|
|
|
|
|
{
|
2012-08-29 12:21:56 +00:00
|
|
|
|
[ProtoMember(1)]
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public int RecentlyAddedItemCount { get; set; }
|
2012-08-29 12:21:56 +00:00
|
|
|
|
|
|
|
|
|
[ProtoMember(2)]
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public int RecentlyAddedUnPlayedItemCount { get; set; }
|
2012-08-29 12:21:56 +00:00
|
|
|
|
|
|
|
|
|
[ProtoMember(3)]
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public int InProgressItemCount { get; set; }
|
2012-08-29 12:21:56 +00:00
|
|
|
|
|
|
|
|
|
[ProtoMember(4)]
|
2012-08-19 17:00:52 +00:00
|
|
|
|
public decimal PlayedPercentage { get; set; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
}
|
|
|
|
|
}
|