< Summary

Information
Class: OzonOrdersWeb.Areas.Studio2.ViewModels.Percentage.UploadFileViewModel
Assembly: OzonOrdersWeb
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Areas/Studio2/ViewModels/Percentage/UploadFileViewModel.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 23
Coverable lines: 23
Total lines: 38
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Areas/Studio2/ViewModels/Percentage/UploadFileViewModel.cs

#LineLine coverage
 1using OzonDomains;
 2using Microsoft.AspNetCore.Mvc.Rendering;
 3
 4namespace OzonOrdersWeb.Areas.Studio2.ViewModels.Percentage;
 5
 6public class UploadFileViewModel
 7{
 08    public IFormFile? ExcelFile { get; set; }
 09    public TransactionType SelectedTransactionType { get; set; }
 010    public string UploadSource { get; set; } = "file";
 11
 12    /// <summary>Отправления FBS или отчёт возвратов (XLSX) — влияет на парсинг и API.</summary>
 013    public PercentageUploadDataKind UploadDataKind { get; set; } = PercentageUploadDataKind.Postings;
 14
 015    public string? SelectedDateColumn { get; set; }
 016    public List<string> SelectedDateValues { get; set; } = [];
 17
 018    public int? SelectedOzonClientId { get; set; }
 019    public DateTime? ProcessedAtFrom { get; set; }
 020    public DateTime? ProcessedAtTo { get; set; }
 021    public string? OfferId { get; set; }
 022    public string? Title { get; set; }
 023    public string? SkuList { get; set; }
 024    public string? StatusAliasList { get; set; }
 025    public string? StatusesList { get; set; }
 026    public string? WarehouseIds { get; set; }
 027    public string? DeliveryMethodIds { get; set; }
 028    public bool? IsExpress { get; set; }
 029    public bool IncludeAdditionalData { get; set; }
 030    public bool IncludeAnalyticsData { get; set; }
 031    public bool IncludeCustomerData { get; set; }
 032    public bool IncludeJewelryCodes { get; set; }
 33
 34    /// <summary>Ключ закэшированного CSV-файла после загрузки через Ozon API.</summary>
 035    public string? ApiReportKey { get; set; }
 36
 037    public List<SelectListItem> OzonClients { get; set; } = [];
 38}