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 { get; set; } = new List(); public DateTime? gameFinishedDate { get; set; } public bool isAdmin { get; set; } } }