C# formatting
This commit is contained in:
@@ -15,8 +15,8 @@ public class Player
|
||||
[MaxLength(24)]
|
||||
public string NormalizedUsername { get; set; } = string.Empty;
|
||||
|
||||
public byte[] PasswordHash { get; set; } = Array.Empty<byte>();
|
||||
public byte[] PasswordSalt { get; set; } = Array.Empty<byte>();
|
||||
public byte[] PasswordHash { get; set; } = [];
|
||||
public byte[] PasswordSalt { get; set; } = [];
|
||||
|
||||
public DateTimeOffset? LastLoginAt { get; set; }
|
||||
public bool IsAdmin { get; set; }
|
||||
|
||||
@@ -8,6 +8,7 @@ public class Suggestion
|
||||
|
||||
[Required]
|
||||
public Guid PlayerId { get; set; }
|
||||
|
||||
public Player? Player { get; set; }
|
||||
|
||||
[Required]
|
||||
|
||||
@@ -8,10 +8,12 @@ public class Vote
|
||||
|
||||
[Required]
|
||||
public Guid PlayerId { get; set; }
|
||||
|
||||
public Player? Player { get; set; }
|
||||
|
||||
[Required]
|
||||
public int SuggestionId { get; set; }
|
||||
|
||||
public Suggestion? Suggestion { get; set; }
|
||||
|
||||
[Range(0, 10)]
|
||||
|
||||
Reference in New Issue
Block a user