Initial
This commit is contained in:
17
LightlessSyncServer/LightlessSyncShared/Models/Auth.cs
Normal file
17
LightlessSyncServer/LightlessSyncShared/Models/Auth.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LightlessSyncShared.Models;
|
||||
|
||||
public class Auth
|
||||
{
|
||||
[Key]
|
||||
[MaxLength(64)]
|
||||
public string HashedKey { get; set; }
|
||||
|
||||
public string UserUID { get; set; }
|
||||
public User User { get; set; }
|
||||
public bool MarkForBan { get; set; }
|
||||
public bool IsBanned { get; set; }
|
||||
public string? PrimaryUserUID { get; set; }
|
||||
public User? PrimaryUser { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user