2012-08-17 16:47:35 +00:00
|
|
|
|
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; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public bool HasImage { get; set; }
|
2012-08-17 16:47:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is used by BaseItemContainer
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class BaseItemStudio
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public bool HasImage { get; set; }
|
2012-08-17 16:47:35 +00:00
|
|
|
|
}
|
|
|
|
|
}
|