continuity/Server/DB/Documents/Account.cs

19 lines
517 B
C#

namespace Server.DB.Documents;
using CouchDB.Driver.Types;
public class Account : CouchDocument
{
public Account(string username, string password, string email, byte permissionLevel)
{
this.Username = username;
this.Password = password;
this.Email = email;
this.PermissionLevel = permissionLevel;
}
public string Username { get; set; }
public string Password { get; set; }
public string Email { get; set; }
public byte PermissionLevel { get; set; }
}