ItemSpecialCounts.cs 632 B

1234567891011121314151617181920212223
  1. using ProtoBuf;
  2. namespace MediaBrowser.Model.Entities
  3. {
  4. /// <summary>
  5. /// Since it can be slow to collect this data, this class helps provide a way to calculate them all at once.
  6. /// </summary>
  7. [ProtoContract]
  8. public class ItemSpecialCounts
  9. {
  10. [ProtoMember(1)]
  11. public int RecentlyAddedItemCount { get; set; }
  12. [ProtoMember(2)]
  13. public int RecentlyAddedUnPlayedItemCount { get; set; }
  14. [ProtoMember(3)]
  15. public int InProgressItemCount { get; set; }
  16. [ProtoMember(4)]
  17. public decimal PlayedPercentage { get; set; }
  18. }
  19. }