diff options
Diffstat (limited to 'MediaBrowser.Model/Entities/ItemSpecialCounts.cs')
| -rw-r--r-- | MediaBrowser.Model/Entities/ItemSpecialCounts.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Entities/ItemSpecialCounts.cs b/MediaBrowser.Model/Entities/ItemSpecialCounts.cs index d5989ef1d..b57be6ca8 100644 --- a/MediaBrowser.Model/Entities/ItemSpecialCounts.cs +++ b/MediaBrowser.Model/Entities/ItemSpecialCounts.cs @@ -1,14 +1,23 @@ -
+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; }
}
}
|
