< Summary

Information
Class: OzonOrdersWeb.Areas.Studio2.ViewModels.OrderHistory.OrderHistoryOneCPostingViewModel
Assembly: OzonOrdersWeb
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Areas/Studio2/ViewModels/OrderHistory/OrderHistoryOneCPostingViewModel.cs
Line coverage
19%
Covered lines: 6
Uncovered lines: 25
Coverable lines: 31
Total lines: 38
Line coverage: 19.3%
Branch coverage
0%
Covered branches: 0
Total branches: 6
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Areas/Studio2/ViewModels/OrderHistory/OrderHistoryOneCPostingViewModel.cs

#LineLine coverage
 1namespace OzonOrdersWeb.Areas.Studio2.ViewModels.OrderHistory;
 2
 3public class OrderHistoryOneCPostingViewModel
 4{
 35    public long Id { get; set; }
 06    public int OrderId { get; set; }
 07    public int? TransactionId { get; set; }
 28    public string OperationKind { get; set; } = string.Empty;
 39    public bool Success { get; set; }
 410    public DateTime PostedAt { get; set; }
 011    public string? ChangedBy { get; set; }
 112    public string? HistoryBatchKey { get; set; }
 613    public List<int> LinkedHistoryIds { get; set; } = new();
 14
 015    public string? OrganizationName { get; set; }
 016    public string? OrganizationInn { get; set; }
 017    public string? SenderName { get; set; }
 018    public string? SenderInn { get; set; }
 019    public string? WarehouseSender { get; set; }
 020    public string? WarehouseRecipient { get; set; }
 021    public int OrdersCount { get; set; }
 022    public int ProductsCount { get; set; }
 023    public string? ArticlesSummary { get; set; }
 024    public int DocumentsCount { get; set; }
 025    public string? DocumentNumbers { get; set; }
 026    public string? DocumentGuids { get; set; }
 027    public bool IsPosted { get; set; }
 028    public string? ErrorSummary { get; set; }
 029    public string? CreatedNomenclature { get; set; }
 30
 031    public string OperationKindDisplay => OperationKind switch
 032    {
 033        "Movement" => "Перемещение",
 034        "Receipt" => "Приходная накладная",
 035        "Expense" => "Расходная накладная",
 036        _ => OperationKind
 037    };
 38}