continuity/Server/DB/Documents/Account.cs

22 lines
582 B
C#
Raw Normal View History

namespace Server.DB.Documents;
2023-08-10 08:47:35 +00:00
2023-08-14 11:49:27 +00:00
public class Account
2023-08-10 08:47:35 +00:00
{
2023-08-14 11:49:27 +00:00
public Guid Id { get; set; }
public Account(string username, byte[] password, string email, byte permissionLevel, byte[] salt)
2023-08-10 08:47:35 +00:00
{
2023-08-11 09:31:30 +00:00
this.Username = username;
this.Password = password;
this.Email = email;
this.PermissionLevel = permissionLevel;
this.Salt = salt;
2023-08-10 08:47:35 +00:00
}
public string Username { get; set; }
public byte[] Password { get; set; }
public string Email { get; set; }
public byte PermissionLevel { get; set; }
public byte[] Salt { get; set; }
2023-08-11 09:31:30 +00:00
}