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