BaseItem.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Runtime.Serialization;
  4. namespace MediaBrowser.Model.Entities
  5. {
  6. public abstract class BaseItem : BaseEntity
  7. {
  8. public string SortName { get; set; }
  9. /// <summary>
  10. /// When the item first debuted. For movies this could be premiere date, episodes would be first aired
  11. /// </summary>
  12. public DateTime? PremiereDate { get; set; }
  13. public string Path { get; set; }
  14. [IgnoreDataMember]
  15. public Folder Parent { get; set; }
  16. public string LogoImagePath { get; set; }
  17. public string ArtImagePath { get; set; }
  18. public string ThumbnailImagePath { get; set; }
  19. public string BannerImagePath { get; set; }
  20. public IEnumerable<string> BackdropImagePaths { get; set; }
  21. public string OfficialRating { get; set; }
  22. public string CustomRating { get; set; }
  23. public string CustomPin { get; set; }
  24. public string Overview { get; set; }
  25. public string Tagline { get; set; }
  26. public IEnumerable<PersonInfo> People { get; set; }
  27. public IEnumerable<string> Studios { get; set; }
  28. public IEnumerable<string> Genres { get; set; }
  29. public string DisplayMediaType { get; set; }
  30. public float? UserRating { get; set; }
  31. public int? RunTimeInMilliseconds { get; set; }
  32. public string AspectRatio { get; set; }
  33. public int? ProductionYear { get; set; }
  34. /// <summary>
  35. /// If the item is part of a series, this is it's number in the series.
  36. /// This could be episode number, album track number, etc.
  37. /// </summary>
  38. public int? IndexNumber { get; set; }
  39. public IEnumerable<Video> LocalTrailers { get; set; }
  40. public string TrailerUrl { get; set; }
  41. }
  42. }