21 lines
582 B
C#
21 lines
582 B
C#
namespace Server.DB.Documents;
|
|
|
|
public class Account
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
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 string Username { get; set; }
|
|
public byte[] Password { get; set; }
|
|
public string Email { get; set; }
|
|
public byte PermissionLevel { get; set; }
|
|
public byte[] Salt { get; set; }
|
|
}
|