Supercell.GUT/Supercell.GUT.Server/Database/Document/AccountDocument.cs
BreadDEV 281d2789ea [v0.1.0] database implementation
not finished. early wip state
2024-03-06 22:00:12 +07:00

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