2020-12-23 16:34:12 +01:00
|
|
|
using System;
|
|
|
|
|
using WotBlitzStatisticsPro.Common.Model;
|
|
|
|
|
using WotBlitzStatisticsPro.DataAccess.Model.Accounts;
|
|
|
|
|
|
|
|
|
|
namespace WotBlitzStatisticsPro.Logic.AccountInformationPipeline
|
|
|
|
|
{
|
|
|
|
|
public class AccountHistoryInformationPipelineContextData: IDatabasePipelineContextData, IStatisticsPipelineData
|
|
|
|
|
{
|
|
|
|
|
public AccountHistoryInformationPipelineContextData(DateTime lastBattleSince)
|
|
|
|
|
{
|
|
|
|
|
LastBattleSince = lastBattleSince;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DateTime LastBattleSince { get; }
|
|
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
public AccountInfo? DbAccountInfo { get; set; }
|
2020-12-23 16:34:12 +01:00
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
public IStatistics[]? History { get; set; }
|
|
|
|
|
public ShortStatistics? OverallStatistics { get; set; }
|
|
|
|
|
public ShortStatistics? PeriodAccountStatistics { get; set; }
|
|
|
|
|
public StatisticsDifference? PeriodDifference { get; set; }
|
|
|
|
|
public StatisticsDifference[]? StatisticsHistory { get; set; }
|
2020-12-23 16:34:12 +01:00
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
public AccountInfoHistoryResponse? Response { get; set; }
|
2020-12-23 16:34:12 +01:00
|
|
|
}
|
|
|
|
|
}
|