aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/DTO/IBNItem.cs
blob: 4b29cb2b1a483489662e1042bd636f6ae119f2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using MediaBrowser.Model.Entities;

namespace MediaBrowser.Model.DTO
{
    /// <summary>
    /// This is a stub class used by the api to get IBN types along with their item counts
    /// </summary>
    public class IBNItem<T>
    {
        /// <summary>
        /// The actual genre, year, studio, etc
        /// </summary>
        public T Item { get; set; }

        /// <summary>
        /// The number of items that have the genre, year, studio, etc
        /// </summary>
        public int BaseItemCount { get; set; }
    }

    /// <summary>
    /// This is used by BaseItemContainer
    /// </summary>
    public class BaseItemPerson
    {
        public PersonInfo PersonInfo { get; set; }
        public bool HasImage { get; set; }
    }

    /// <summary>
    /// This is used by BaseItemContainer
    /// </summary>
    public class BaseItemStudio
    {
        public string Name { get; set; }
        public bool HasImage { get; set; }
    }
}