Files
CollabVMAuthServer/CollabVMAuthServer/User.cs

27 lines
719 B
C#
Raw Normal View History

using System.Net;
2024-04-04 00:57:59 -04:00
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; }
2024-04-05 15:50:18 -04:00
public DateOnly DateOfBirth { get; set; }
2024-04-04 00:57:59 -04:00
public bool EmailVerified { get; set; }
2024-04-05 20:08:23 -04:00
public string? EmailVerificationCode { get; set; }
public string? PasswordResetCode { get; set; }
2024-04-04 00:57:59 -04:00
public Rank Rank { get; set; }
public bool Banned { get; set; }
public IPAddress RegistrationIP { get; set; }
public DateTime Joined { get; set; }
public bool Developer { get; set; }
2024-04-04 00:57:59 -04:00
}
public enum Rank : uint
{
Registered = 1,
Admin = 2,
Moderator = 3,
}