aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/ItemSpecialCounts.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-18 04:22:54 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-18 04:22:54 -0400
commit7835d690a1ade4739171036cff335c86b5232d0e (patch)
tree0704c6bd3bf3adf3c23c67951397674ac87b5636 /MediaBrowser.Model/Entities/ItemSpecialCounts.cs
parentf32f000298114231f114f41b7c7c4534a0300de2 (diff)
Added a completely separate DTOBaseItem to remove the ApiBaseItemWrapper mess and shrink json output size.
Diffstat (limited to 'MediaBrowser.Model/Entities/ItemSpecialCounts.cs')
-rw-r--r--MediaBrowser.Model/Entities/ItemSpecialCounts.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Entities/ItemSpecialCounts.cs b/MediaBrowser.Model/Entities/ItemSpecialCounts.cs
new file mode 100644
index 000000000..9add9fe99
--- /dev/null
+++ b/MediaBrowser.Model/Entities/ItemSpecialCounts.cs
@@ -0,0 +1,14 @@
+
+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>
+ public class ItemSpecialCounts
+ {
+ public int RecentlyAddedItemCount { get; set; }
+ public int RecentlyAddedUnPlayedItemCount { get; set; }
+ public int InProgressItemCount { get; set; }
+ public decimal WatchedPercentage { get; set; }
+ }
+}