Files
2023-07-08 21:28:08 +05:00

18 lines
532 B
C#

using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using YandexGameServer.Controllers;
using YandexGameServer.Services;
namespace YandexGameServer.Models
{
[Serializable]
public class Client
{
[BsonId, BsonRepresentation(BsonType.ObjectId)]
public string id { get; set; }
public Cities city { get; set; }
public List<Games> games { get; set; } = new List<Games>();
public DateTime? gameFinishedDate { get; set; }
public bool isAdmin { get; set; }
}
}