using System; public class PlayerStatsRecord { public int Id { get; set; } public string PlayerName { get; set; } public float CompletionTimeSec { get; set; } public int MovesCount { get; set; } public DateTime CompletedAt { get; set; } public bool IsSynced { get; set; } public bool IsBot { get; set; } // Новое поле public PlayerStatsRecord() { } public PlayerStatsRecord(string playerName, float completionTimeSec, int movesCount, bool isBot = false) { PlayerName = playerName; CompletionTimeSec = completionTimeSec; MovesCount = movesCount; CompletedAt = DateTime.Now; IsSynced = false; IsBot = isBot; // Новый параметр } public PlayerStatsRecord(string playerName, float completionTimeSec, int movesCount, DateTime completedAt, bool isBot = false) { PlayerName = playerName; CompletionTimeSec = completionTimeSec; MovesCount = movesCount; CompletedAt = completedAt; IsSynced = false; IsBot = isBot; // Новый параметр } }