mirror of
https://github.com/thebreaddev/Supercell.GUT.git
synced 2024-11-13 00:54:37 +00:00
20 lines
465 B
C#
20 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;
|
|||
|
}
|
|||
|
}
|