2020-09-22 17:54:35 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using WotBlitzStatisticsPro.Common.Model;
|
2020-08-20 13:40:08 +02:00
|
|
|
using WotBlitzStatisticsPro.DataAccess.Model.Accounts;
|
2020-07-19 13:04:31 +02:00
|
|
|
|
|
|
|
|
namespace WotBlitzStatisticsPro.Logic.AccountInformationPipeline
|
|
|
|
|
{
|
2020-11-17 12:36:02 +01:00
|
|
|
public class AccountInformationPipelineContextData : IDatabasePipelineContextData
|
2020-07-19 13:04:31 +02:00
|
|
|
{
|
2020-12-27 12:39:25 +01:00
|
|
|
public AccountInfo? AccountInfo { get; set; }
|
2020-08-20 13:40:08 +02:00
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
public AccountInfoHistory? AccountInfoHistory { get; set; }
|
2020-08-20 13:40:08 +02:00
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
public List<TankInfo>? Tanks { get; set; }
|
2020-09-22 17:54:35 +02:00
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
public Dictionary<long, TankInfoHistory>? TanksHistory { get; set; }
|
2020-09-22 17:54:35 +02:00
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
public AccountInfoResponse? Response { get; set; }
|
2020-09-30 19:30:36 +02:00
|
|
|
|
2020-12-27 12:39:25 +01:00
|
|
|
public AccountInfo? DbAccountInfo { get; set; }
|
2020-11-01 14:10:57 +01:00
|
|
|
|
2021-02-26 16:56:39 +01:00
|
|
|
// ToDo: In the future, there should be the way to skip some operations in the pipe. Now we use this dummy flag...
|
|
|
|
|
public bool NeedToSaveData { get; set; }
|
2020-07-19 13:04:31 +02:00
|
|
|
}
|
|
|
|
|
}
|