19 lines
528 B
C#
19 lines
528 B
C#
|
using CouchDB.Driver.Types;
|
|||
|
|
|||
|
namespace Server.DB.Documents;
|
|||
|
|
|||
|
public class Account : CouchDocument
|
|||
|
{
|
|||
|
public Account(string username, string password, string email, byte permissionLevel)
|
|||
|
{
|
|||
|
Username = username;
|
|||
|
Password = password;
|
|||
|
Email = email;
|
|||
|
PermissionLevel = permissionLevel;
|
|||
|
}
|
|||
|
|
|||
|
public string Username { get; private set; }
|
|||
|
public string Password { get; private set; }
|
|||
|
public string Email { get; private set; }
|
|||
|
public byte PermissionLevel { get; private set; }
|
|||
|
}
|