namespace Auth.Entities {
    public class Account {
        public int ID { get; set; } // PK
        public string UserName { get; set; } = "";
        public string Email { get; set; } = "";
        public bool EmailVerified { get; set; } = false;
        public string PasswordHash { get; set; } = "";
        public bool FailedPasswordLock { get; set; } = false;
        public int PasswordAttempts { get; set; } = 5;
        public int CurrentPasswordAttempts { get; set; } = 0;
        public string Role { get; set; } = "Generic";
        public string EmailToken { get; set; } = "";
        public DateTime EmailTokenCreated { get; set; }
        public string PasswordToken { get; set; } = "";
        public DateTime PasswordTokenCreated { get; set; }
        public string DataServer { get; set; } = "";
    }
}