2012-07-12 06:55:27 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2012-07-15 20:27:07 +00:00
|
|
|
|
using System.Runtime.Serialization;
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
|
|
|
{
|
2012-08-12 23:57:54 +00:00
|
|
|
|
public abstract class BaseItem : BaseEntity
|
2012-07-12 06:55:27 +00:00
|
|
|
|
{
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public string SortName { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// When the item first debuted. For movies this could be premiere date, episodes would be first aired
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime? PremiereDate { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Path { get; set; }
|
2012-07-15 20:27:07 +00:00
|
|
|
|
|
|
|
|
|
[IgnoreDataMember]
|
2012-07-12 06:55:27 +00:00
|
|
|
|
public Folder Parent { get; set; }
|
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public string LogoImagePath { get; set; }
|
|
|
|
|
public string ArtImagePath { get; set; }
|
|
|
|
|
public string ThumbnailImagePath { get; set; }
|
|
|
|
|
public string BannerImagePath { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public IEnumerable<string> BackdropImagePaths { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public string OfficialRating { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public string CustomRating { get; set; }
|
|
|
|
|
public string CustomPin { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public string Overview { get; set; }
|
|
|
|
|
public string Tagline { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public IEnumerable<PersonInfo> People { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public IEnumerable<string> Studios { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public IEnumerable<string> Genres { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public string DisplayMediaType { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public float? UserRating { get; set; }
|
2012-07-31 03:38:00 +00:00
|
|
|
|
public int? RunTimeInMilliseconds { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public string AspectRatio { get; set; }
|
|
|
|
|
public int? ProductionYear { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// If the item is part of a series, this is it's number in the series.
|
|
|
|
|
/// This could be episode number, album track number, etc.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? IndexNumber { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
|
2012-07-20 02:22:44 +00:00
|
|
|
|
public IEnumerable<Video> LocalTrailers { get; set; }
|
|
|
|
|
|
|
|
|
|
public string TrailerUrl { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
}
|
|
|
|
|
}
|