< Summary

Information
Class: OzonOrdersWeb.Areas.Studio2.ViewModels.OrderHistory.OrderHistoryHandoverPhotoViewModel
Assembly: OzonOrdersWeb
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Areas/Studio2/ViewModels/OrderHistory/OrderHistoryHandoverItemViewModel.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 56
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

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%210%
get_Sequence()100%210%

File(s)

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

#LineLine coverage
 1namespace OzonOrdersWeb.Areas.Studio2.ViewModels.OrderHistory;
 2
 3/// <summary>
 4/// Позиция акта выдачи/приёма-передачи Ozon (импорт из "Telegram Lite"), сопоставленная с заказом,
 5/// вместе с контекстом акта, к которому она относится.
 6/// </summary>
 7public class OrderHistoryHandoverItemViewModel
 8{
 9    public string? GroupName { get; set; }
 10    public string? ActNo { get; set; }
 11    public DateTime ActDate { get; set; }
 12    public string? ActType { get; set; }
 13    public string? Pvz { get; set; }
 14
 15    /// <summary>Статус акта в целом: accepted / pending / partially_accepted.</summary>
 16    public string? ActStatus { get; set; }
 17
 18    public string? ProductName { get; set; }
 19    public string? Barcode { get; set; }
 20    public decimal Value { get; set; }
 21    public decimal? ValueApi { get; set; }
 22    public int? WeightG { get; set; }
 23
 24    /// <summary>Статус позиции: accepted / rejected / pending.</summary>
 25    public string? Status { get; set; }
 26
 27    public bool Defect { get; set; }
 28    public bool Missort { get; set; }
 29    public string? Comment { get; set; }
 30    public DateTime? MarkedAt { get; set; }
 31    public long? Sku { get; set; }
 32    public string? OfferId { get; set; }
 33    public long? ReturnId { get; set; }
 34    public string? OzonStatus { get; set; }
 35    public string? OzonStatusName { get; set; }
 36    public string? ReturnType { get; set; }
 37    public string? BoxBarcode { get; set; }
 38    public string? Reason { get; set; }
 39    public bool ReasonIsDefect { get; set; }
 40    public string? ClientComment { get; set; }
 41    public string? RejectionComment { get; set; }
 42    public string? RejectionReason { get; set; }
 43    public string? RuPostTracking { get; set; }
 44    public string? ReturnNumber { get; set; }
 45    public string? OrderNumber { get; set; }
 46    public string? ClientReturnMethod { get; set; }
 47    public long? WarehouseId { get; set; }
 48    public string? PhotosError { get; set; }
 49    public List<OrderHistoryHandoverPhotoViewModel> Photos { get; set; } = new();
 50}
 51
 52public class OrderHistoryHandoverPhotoViewModel
 53{
 054    public long Id { get; set; }
 055    public int Sequence { get; set; }
 56}

Methods/Properties

get_Id()
get_Sequence()