From 7835d690a1ade4739171036cff335c86b5232d0e Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Sat, 18 Aug 2012 04:22:54 -0400 Subject: Added a completely separate DTOBaseItem to remove the ApiBaseItemWrapper mess and shrink json output size. --- MediaBrowser.Model/Entities/ItemSpecialCounts.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 MediaBrowser.Model/Entities/ItemSpecialCounts.cs (limited to 'MediaBrowser.Model/Entities/ItemSpecialCounts.cs') diff --git a/MediaBrowser.Model/Entities/ItemSpecialCounts.cs b/MediaBrowser.Model/Entities/ItemSpecialCounts.cs new file mode 100644 index 0000000000..9add9fe99e --- /dev/null +++ b/MediaBrowser.Model/Entities/ItemSpecialCounts.cs @@ -0,0 +1,14 @@ + +namespace MediaBrowser.Model.Entities +{ + /// + /// Since it can be slow to collect this data. This class helps provide a way to calculate them all at once. + /// + public class ItemSpecialCounts + { + public int RecentlyAddedItemCount { get; set; } + public int RecentlyAddedUnPlayedItemCount { get; set; } + public int InProgressItemCount { get; set; } + public decimal WatchedPercentage { get; set; } + } +} -- cgit v1.2.3