continuity/Server/DB/Documents/Account.cs
Timothy Schenk 1455bdd75a
All checks were successful
Test if Server can be built / build-server (push) Successful in 22s
chore: apply dotnet format
2023-10-12 09:15:34 +02:00

22 lines
658 B
C#

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>();
}