< Summary

Information
Class: OzonOrdersWeb.Areas.Studio2.ViewModels.OrderHistory.OrderHistoryHandoverItemViewModel
Assembly: OzonOrdersWeb
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Areas/Studio2/ViewModels/OrderHistory/OrderHistoryHandoverItemViewModel.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 35
Coverable lines: 35
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_GroupName()100%210%
get_ActNo()100%210%
get_ActDate()100%210%
get_ActType()100%210%
get_Pvz()100%210%
get_ActStatus()100%210%
get_ProductName()100%210%
get_Barcode()100%210%
get_Value()100%210%
get_ValueApi()100%210%
get_WeightG()100%210%
get_Status()100%210%
get_Defect()100%210%
get_Missort()100%210%
get_Comment()100%210%
get_MarkedAt()100%210%
get_Sku()100%210%
get_OfferId()100%210%
get_ReturnId()100%210%
get_OzonStatus()100%210%
get_OzonStatusName()100%210%
get_ReturnType()100%210%
get_BoxBarcode()100%210%
get_Reason()100%210%
get_ReasonIsDefect()100%210%
get_ClientComment()100%210%
get_RejectionComment()100%210%
get_RejectionReason()100%210%
get_RuPostTracking()100%210%
get_ReturnNumber()100%210%
get_OrderNumber()100%210%
get_ClientReturnMethod()100%210%
get_WarehouseId()100%210%
get_PhotosError()100%210%
get_Photos()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{
 09    public string? GroupName { get; set; }
 010    public string? ActNo { get; set; }
 011    public DateTime ActDate { get; set; }
 012    public string? ActType { get; set; }
 013    public string? Pvz { get; set; }
 14
 15    /// <summary>Статус акта в целом: accepted / pending / partially_accepted.</summary>
 016    public string? ActStatus { get; set; }
 17
 018    public string? ProductName { get; set; }
 019    public string? Barcode { get; set; }
 020    public decimal Value { get; set; }
 021    public decimal? ValueApi { get; set; }
 022    public int? WeightG { get; set; }
 23
 24    /// <summary>Статус позиции: accepted / rejected / pending.</summary>
 025    public string? Status { get; set; }
 26
 027    public bool Defect { get; set; }
 028    public bool Missort { get; set; }
 029    public string? Comment { get; set; }
 030    public DateTime? MarkedAt { get; set; }
 031    public long? Sku { get; set; }
 032    public string? OfferId { get; set; }
 033    public long? ReturnId { get; set; }
 034    public string? OzonStatus { get; set; }
 035    public string? OzonStatusName { get; set; }
 036    public string? ReturnType { get; set; }
 037    public string? BoxBarcode { get; set; }
 038    public string? Reason { get; set; }
 039    public bool ReasonIsDefect { get; set; }
 040    public string? ClientComment { get; set; }
 041    public string? RejectionComment { get; set; }
 042    public string? RejectionReason { get; set; }
 043    public string? RuPostTracking { get; set; }
 044    public string? ReturnNumber { get; set; }
 045    public string? OrderNumber { get; set; }
 046    public string? ClientReturnMethod { get; set; }
 047    public long? WarehouseId { get; set; }
 048    public string? PhotosError { get; set; }
 049    public List<OrderHistoryHandoverPhotoViewModel> Photos { get; set; } = new();
 50}
 51
 52public class OrderHistoryHandoverPhotoViewModel
 53{
 54    public long Id { get; set; }
 55    public int Sequence { get; set; }
 56}