mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
Moved the http server to it's own assembly. added comments and made other minor re-organizations.
This commit is contained in:
parent
6fbd5cf464
commit
80b3ad7bd2
@@ -6,70 +6,70 @@ namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
public abstract class BaseItem
|
||||
{
|
||||
public virtual string Name { get; set; }
|
||||
public virtual string SortName { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string SortName { get; set; }
|
||||
|
||||
public virtual Guid Id { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public virtual DateTime DateCreated { get; set; }
|
||||
public DateTime DateCreated { get; set; }
|
||||
|
||||
public virtual DateTime DateModified { get; set; }
|
||||
public DateTime DateModified { get; set; }
|
||||
|
||||
public virtual string Path { get; set; }
|
||||
/// <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; }
|
||||
|
||||
[IgnoreDataMember]
|
||||
public Folder Parent { get; set; }
|
||||
|
||||
public virtual string PrimaryImagePath { get; set; }
|
||||
public virtual string LogoImagePath { get; set; }
|
||||
public virtual string ArtImagePath { get; set; }
|
||||
public virtual string ThumbnailImagePath { get; set; }
|
||||
public virtual string BannerImagePath { get; set; }
|
||||
public string PrimaryImagePath { get; set; }
|
||||
public string LogoImagePath { get; set; }
|
||||
public string ArtImagePath { get; set; }
|
||||
public string ThumbnailImagePath { get; set; }
|
||||
public string BannerImagePath { get; set; }
|
||||
|
||||
public virtual IEnumerable<string> BackdropImagePaths { get; set; }
|
||||
public IEnumerable<string> BackdropImagePaths { get; set; }
|
||||
|
||||
public virtual string OfficialRating { get; set; }
|
||||
public string OfficialRating { get; set; }
|
||||
|
||||
public virtual string CustomRating { get; set; }
|
||||
public virtual string CustomPin { get; set; }
|
||||
public string CustomRating { get; set; }
|
||||
public string CustomPin { get; set; }
|
||||
|
||||
public virtual string Overview { get; set; }
|
||||
public virtual string Tagline { get; set; }
|
||||
public string Overview { get; set; }
|
||||
public string Tagline { get; set; }
|
||||
|
||||
[IgnoreDataMember]
|
||||
public virtual IEnumerable<PersonInfo> People { get; set; }
|
||||
public IEnumerable<PersonInfo> People { get; set; }
|
||||
|
||||
public virtual IEnumerable<string> Studios { get; set; }
|
||||
public IEnumerable<string> Studios { get; set; }
|
||||
|
||||
public virtual IEnumerable<string> Genres { get; set; }
|
||||
public IEnumerable<string> Genres { get; set; }
|
||||
|
||||
public virtual string DisplayMediaType { get; set; }
|
||||
public string DisplayMediaType { get; set; }
|
||||
|
||||
public virtual float? UserRating { get; set; }
|
||||
public virtual TimeSpan? RunTime { get; set; }
|
||||
public float? UserRating { get; set; }
|
||||
public TimeSpan? RunTime { get; set; }
|
||||
|
||||
public virtual string AspectRatio { get; set; }
|
||||
public virtual int? ProductionYear { get; set; }
|
||||
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; }
|
||||
|
||||
[IgnoreDataMember]
|
||||
public virtual IEnumerable<Video> LocalTrailers { get; set; }
|
||||
public IEnumerable<Video> LocalTrailers { get; set; }
|
||||
|
||||
public string TrailerUrl { get; set; }
|
||||
|
||||
public virtual string TrailerUrl { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is strictly to enhance json output, until I can find a way to customize service stack to add this without having to use a property
|
||||
/// </summary>
|
||||
public string Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return GetType().Name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user