using MongoDB.Bson.Serialization.Attributes; namespace WotBlitzStatisticsPro.DataAccess.Model.Accounts { public class AccountInfoHistory { public AccountInfoHistory(long accountId, int lastBattleTime) { AccountInfoHistoryId = new AccountInfoHistoryKey(accountId, lastBattleTime); } [BsonId] public AccountInfoHistoryKey AccountInfoHistoryId { get; set; } /// /// Player account identifier /// [BsonIgnore] public long AccountId => AccountInfoHistoryId.AccountId; /// /// Last battle time /// [BsonIgnore] public int LastBattleTime => AccountInfoHistoryId.LastBattleTime; /// /// Battles count /// public long? Battles { get; set; } /// /// Capture points /// public long? CapturePoints { get; set; } /// /// Total damage amount /// public long? DamageDealt { get; set; } /// /// Total amount of received damage /// public long? DamageReceived { get; set; } /// /// Dropped capture points /// public long? DroppedCapturePoints { get; set; } /// /// Total amount of frags /// public long? Frags { get; set; } /// /// Total amount of fras grater ten 8 lvl /// public long? Frags8P { get; set; } /// /// Total amount of hits /// public long? Hits { get; set; } /// /// Total amount of losses /// public long? Losses { get; set; } /// /// Max frags per battle /// public long? MaxFrags { get; set; } /// /// Tank id, which kills max frags per battle /// public long? MaxFragsTankId { get; set; } /// /// Max experience per battle /// public long? MaxXp { get; set; } /// /// Tank Id which created max experience per battle /// public long? MaxXpTankId { get; set; } /// /// Total shots count /// public long? Shots { get; set; } /// /// Total count of spotted vehicles /// public long? Spotted { get; set; } /// /// Total count of survived battles /// public long? SurvivedBattles { get; set; } /// /// Total count of survived and winned battles /// public long? WinAndSurvived { get; set; } /// /// Total wins count /// public long? Wins { get; set; } /// /// Total amount of experience /// public long? Xp { get; set; } /// /// Average tier /// public double AvgTier { get; set; } /// /// Wn7 coefficient /// public double Wn7 { get; set; } } }