diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-03-17 19:08:11 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-03-25 19:51:26 -0400 |
| commit | 36669ff45146dd8d4dc063b6a6b1d057f2d33464 (patch) | |
| tree | 938b76f57aa223ad1e8888958ddff7a6909d303d /Jellyfin.Data/Entities/Permission.cs | |
| parent | 6946e58ca4ee904615146b3a702663cc630f5ad6 (diff) | |
Use correct setter access modifiers
Diffstat (limited to 'Jellyfin.Data/Entities/Permission.cs')
| -rw-r--r-- | Jellyfin.Data/Entities/Permission.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Jellyfin.Data/Entities/Permission.cs b/Jellyfin.Data/Entities/Permission.cs index f059dedfa2..005d1a10f2 100644 --- a/Jellyfin.Data/Entities/Permission.cs +++ b/Jellyfin.Data/Entities/Permission.cs @@ -25,21 +25,21 @@ namespace Jellyfin.Data.Entities } /// <summary> - /// Gets or sets the id of this permission. + /// Gets the id of this permission. /// </summary> /// <remarks> /// Identity, Indexed, Required. /// </remarks> [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public int Id { get; protected set; } + public int Id { get; private set; } /// <summary> - /// Gets or sets the type of this permission. + /// Gets the type of this permission. /// </summary> /// <remarks> /// Required. /// </remarks> - public PermissionKind Kind { get; protected set; } + public PermissionKind Kind { get; private set; } /// <summary> /// Gets or sets a value indicating whether the associated user has this permission. @@ -51,7 +51,7 @@ namespace Jellyfin.Data.Entities /// <inheritdoc /> [ConcurrencyCheck] - public uint RowVersion { get; set; } + public uint RowVersion { get; private set; } /// <inheritdoc/> public void OnSavingChanges() |
