| | | 1 | | using OServices.FiltersServices.FilterModels; |
| | | 2 | | using OzonDomains; |
| | | 3 | | using OzonDomains.Models; |
| | | 4 | | using OzonDomains.ViewModels; |
| | | 5 | | using OzonRepositories.Context.Identity; |
| | | 6 | | using Services.FiltersServices.FilterModels; |
| | | 7 | | |
| | | 8 | | namespace OzonOrdersWeb.ViewModels.TransactionViewModels |
| | | 9 | | { |
| | | 10 | | public class TransactionViewModel<T, K> : PageViewModel<T, K> |
| | | 11 | | { |
| | 0 | 12 | | public List<string> UserNames { get; set; } = new(); |
| | | 13 | | |
| | 0 | 14 | | public Dictionary<string, int> UniqueArticles { get; set; } = new(); |
| | 0 | 15 | | public Dictionary<string, int> UniqueDeliveryCitys { get; set; } = new(); |
| | 0 | 16 | | public Dictionary<string, int> UniqueNumbers { get; set; } = new(); |
| | | 17 | | |
| | 0 | 18 | | public CustomIdentityUser User { get; set; } = null!; |
| | 0 | 19 | | public IReadOnlyDictionary<string, bool>? OrderListFieldReadAccess { get; set; } |
| | 0 | 20 | | public List<(TransactionType, string)> TransactionTypes { get; set; } = new(); |
| | 0 | 21 | | public OrderFilterModel OrderFilterModel { get; set; } = new(); |
| | | 22 | | |
| | | 23 | | public TransactionViewModel(IEnumerable<T> pageDate, int page, int pageSize, K filterModel) |
| | 0 | 24 | | : base(pageDate, page, pageSize, filterModel) |
| | | 25 | | { |
| | 0 | 26 | | } |
| | | 27 | | } |
| | | 28 | | } |