BaseItem.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace Jellyfin.Data.Entities;
  6. #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
  7. public class BaseItem
  8. {
  9. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  10. public Guid Id { get; set; }
  11. public required string Type { get; set; }
  12. public IReadOnlyList<byte>? Data { get; set; }
  13. public Guid? ParentId { get; set; }
  14. public string? Path { get; set; }
  15. public DateTime StartDate { get; set; }
  16. public DateTime EndDate { get; set; }
  17. public string? ChannelId { get; set; }
  18. public bool IsMovie { get; set; }
  19. public float? CommunityRating { get; set; }
  20. public string? CustomRating { get; set; }
  21. public int? IndexNumber { get; set; }
  22. public bool IsLocked { get; set; }
  23. public string? Name { get; set; }
  24. public string? OfficialRating { get; set; }
  25. public string? MediaType { get; set; }
  26. public string? Overview { get; set; }
  27. public int? ParentIndexNumber { get; set; }
  28. public DateTime? PremiereDate { get; set; }
  29. public int? ProductionYear { get; set; }
  30. public string? Genres { get; set; }
  31. public string? SortName { get; set; }
  32. public string? ForcedSortName { get; set; }
  33. public long? RunTimeTicks { get; set; }
  34. public DateTime? DateCreated { get; set; }
  35. public DateTime? DateModified { get; set; }
  36. public bool IsSeries { get; set; }
  37. public string? EpisodeTitle { get; set; }
  38. public bool IsRepeat { get; set; }
  39. public string? PreferredMetadataLanguage { get; set; }
  40. public string? PreferredMetadataCountryCode { get; set; }
  41. public DateTime? DateLastRefreshed { get; set; }
  42. public DateTime? DateLastSaved { get; set; }
  43. public bool IsInMixedFolder { get; set; }
  44. public string? LockedFields { get; set; }
  45. public string? Studios { get; set; }
  46. public string? Audio { get; set; }
  47. public string? ExternalServiceId { get; set; }
  48. public string? Tags { get; set; }
  49. public bool IsFolder { get; set; }
  50. public int? InheritedParentalRatingValue { get; set; }
  51. public string? UnratedType { get; set; }
  52. public string? TopParentId { get; set; }
  53. public string? TrailerTypes { get; set; }
  54. public float? CriticRating { get; set; }
  55. public string? CleanName { get; set; }
  56. public string? PresentationUniqueKey { get; set; }
  57. public string? OriginalTitle { get; set; }
  58. public string? PrimaryVersionId { get; set; }
  59. public DateTime? DateLastMediaAdded { get; set; }
  60. public string? Album { get; set; }
  61. public float? LUFS { get; set; }
  62. public float? NormalizationGain { get; set; }
  63. public bool IsVirtualItem { get; set; }
  64. public string? SeriesName { get; set; }
  65. public string? UserDataKey { get; set; }
  66. public string? SeasonName { get; set; }
  67. public Guid? SeasonId { get; set; }
  68. public Guid? SeriesId { get; set; }
  69. public string? ExternalSeriesId { get; set; }
  70. public string? Tagline { get; set; }
  71. public string? ProviderIds { get; set; }
  72. public string? Images { get; set; }
  73. public string? ProductionLocations { get; set; }
  74. public string? ExtraIds { get; set; }
  75. public int? TotalBitrate { get; set; }
  76. public string? ExtraType { get; set; }
  77. public string? Artists { get; set; }
  78. public string? AlbumArtists { get; set; }
  79. public string? ExternalId { get; set; }
  80. public string? SeriesPresentationUniqueKey { get; set; }
  81. public string? ShowId { get; set; }
  82. public string? OwnerId { get; set; }
  83. public int? Width { get; set; }
  84. public int? Height { get; set; }
  85. public long? Size { get; set; }
  86. public ICollection<People>? Peoples { get; set; }
  87. public ICollection<UserData>? UserData { get; set; }
  88. public ICollection<ItemValue>? ItemValues { get; set; }
  89. }