aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/ItemSpecialCounts.cs
blob: b57be6ca8bcb5096e4082222e36ba3dc5d5f65e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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; }
    }
}