mirror of
https://github.com/thebreaddev/Supercell.GUT.git
synced 2024-11-10 07:44:37 +00:00
281d2789ea
not finished. early wip state
19 lines
465 B
C#
19 lines
465 B
C#
using Supercell.GUT.Titan.Logic.Math;
|
|
|
|
namespace Supercell.GUT.Server.Database.Document;
|
|
public class AccountDocument : MongoSerializeableBase, IDatabaseDocument
|
|
{
|
|
public LogicLong DocumentId { get; set; }
|
|
public string SessionKey { get; set; } = string.Empty;
|
|
|
|
public AccountDocument()
|
|
{
|
|
DocumentId = new();
|
|
}
|
|
|
|
public AccountDocument(LogicLong id, string token)
|
|
{
|
|
DocumentId = id;
|
|
SessionKey = token;
|
|
}
|
|
}
|