Use correct setter access modifiers

This commit is contained in:
Patrick Barron
2021-03-17 19:08:11 -04:00
parent 6946e58ca4
commit 36669ff451
42 changed files with 179 additions and 246 deletions

View File

@@ -24,21 +24,21 @@ namespace Jellyfin.Data.Entities
}
/// <summary>
/// Gets or sets the id of this preference.
/// Gets the id of this preference.
/// </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 preference.
/// Gets the type of this preference.
/// </summary>
/// <remarks>
/// Required.
/// </remarks>
public PreferenceKind Kind { get; protected set; }
public PreferenceKind Kind { get; private set; }
/// <summary>
/// Gets or sets the value of this preference.
@@ -52,7 +52,7 @@ namespace Jellyfin.Data.Entities
/// <inheritdoc/>
[ConcurrencyCheck]
public uint RowVersion { get; set; }
public uint RowVersion { get; private set; }
/// <inheritdoc/>
public void OnSavingChanges()