namespace Server.DB.Documents;

public class Account
{
    public Account(string username, byte[] password, string email, byte permissionLevel, byte[] salt)
    {
        this.Username = username;
        this.Password = password;
        this.Email = email;
        this.PermissionLevel = permissionLevel;
        this.Salt = salt;
    }

    public Guid Id { get; set; }

    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; }
    public ICollection<Character> Characters { get; } = new List<Character>();
}