diff options
Diffstat (limited to 'Jellyfin.Data')
| -rw-r--r-- | Jellyfin.Data/Entities/BaseItemEntity.cs | 2 | ||||
| -rw-r--r-- | Jellyfin.Data/Entities/UserData.cs | 21 |
2 files changed, 13 insertions, 10 deletions
diff --git a/Jellyfin.Data/Entities/BaseItemEntity.cs b/Jellyfin.Data/Entities/BaseItemEntity.cs index a9f9b1793..8a6fb16a1 100644 --- a/Jellyfin.Data/Entities/BaseItemEntity.cs +++ b/Jellyfin.Data/Entities/BaseItemEntity.cs @@ -110,8 +110,6 @@ public class BaseItemEntity public string? SeriesName { get; set; } - public string? UserDataKey { get; set; } - public string? SeasonName { get; set; } public string? ExternalSeriesId { get; set; } diff --git a/Jellyfin.Data/Entities/UserData.cs b/Jellyfin.Data/Entities/UserData.cs index 1204446d0..fe8c8c5ce 100644 --- a/Jellyfin.Data/Entities/UserData.cs +++ b/Jellyfin.Data/Entities/UserData.cs @@ -9,12 +9,6 @@ namespace Jellyfin.Data.Entities; public class UserData { /// <summary> - /// Gets or sets the key. - /// </summary> - /// <value>The key.</value> - public required string Key { get; set; } - - /// <summary> /// Gets or sets the users 0-10 rating. /// </summary> /// <value>The rating.</value> @@ -70,12 +64,23 @@ public class UserData public bool? Likes { get; set; } /// <summary> + /// Gets or sets the key. + /// </summary> + /// <value>The key.</value> + public required Guid ItemId { get; set; } + + /// <summary> + /// Gets or Sets the BaseItem. + /// </summary> + public required BaseItemEntity? Item { get; set; } + + /// <summary> /// Gets or Sets the UserId. /// </summary> - public Guid UserId { get; set; } + public required Guid UserId { get; set; } /// <summary> /// Gets or Sets the User. /// </summary> - public User? User { get; set; } + public required User? User { get; set; } } |
