diff options
| -rw-r--r-- | Jellyfin.Data/Entities/Permission.cs | 6 | ||||
| -rw-r--r-- | Jellyfin.Data/Entities/Preference.cs | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Jellyfin.Data/Entities/Permission.cs b/Jellyfin.Data/Entities/Permission.cs index 005d1a10f..2c5894318 100644 --- a/Jellyfin.Data/Entities/Permission.cs +++ b/Jellyfin.Data/Entities/Permission.cs @@ -1,5 +1,6 @@ #pragma warning disable CA1711 // Identifiers should not have incorrect suffix +using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Jellyfin.Data.Enums; @@ -34,6 +35,11 @@ namespace Jellyfin.Data.Entities public int Id { get; private set; } /// <summary> + /// Gets or sets the id of the associated user. + /// </summary> + public Guid UserId { get; set; } + + /// <summary> /// Gets the type of this permission. /// </summary> /// <remarks> diff --git a/Jellyfin.Data/Entities/Preference.cs b/Jellyfin.Data/Entities/Preference.cs index 048caecee..a7d93f32c 100644 --- a/Jellyfin.Data/Entities/Preference.cs +++ b/Jellyfin.Data/Entities/Preference.cs @@ -33,6 +33,11 @@ namespace Jellyfin.Data.Entities public int Id { get; private set; } /// <summary> + /// Gets or sets the id of the associated user. + /// </summary> + public Guid UserId { get; set; } + + /// <summary> /// Gets the type of this preference. /// </summary> /// <remarks> |
