init
This commit is contained in:
20
CollabVMAuthServer/User.cs
Normal file
20
CollabVMAuthServer/User.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace Computernewb.CollabVMAuthServer;
|
||||
|
||||
public class User
|
||||
{
|
||||
public uint Id { get; set; }
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Email { get; set; }
|
||||
public bool EmailVerified { get; set; }
|
||||
public string EmailVerificationCode { get; set; }
|
||||
public Rank Rank { get; set; }
|
||||
public bool Banned { get; set; }
|
||||
}
|
||||
|
||||
public enum Rank : uint
|
||||
{
|
||||
Registered = 1,
|
||||
Admin = 2,
|
||||
Moderator = 3,
|
||||
}
|
||||
Reference in New Issue
Block a user