< Summary

Information
Class: OzonDomains.Models.AssemblyListRun
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/AssemblyListRun.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 13
Coverable lines: 13
Total lines: 82
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_StartedAtUtc()100%210%
get_CompletedAtUtc()100%210%
get_OzonClientId()100%210%
get_OzonClientName()100%210%
get_FilterStatus()100%210%
get_CutoffFrom()100%210%
get_CutoffTo()100%210%
get_RunStatus()100%210%
get_ErrorMessage()100%210%
get_TotalPostings()100%210%
get_TotalItems()100%210%
get_Items()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/AssemblyListRun.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace OzonDomains.Models;
 5
 6[Table("AssemblyListRuns")]
 7public class AssemblyListRun
 8{
 9    [Key]
 10    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 011    public long Id { get; set; }
 12
 013    public DateTime StartedAtUtc { get; set; }
 014    public DateTime? CompletedAtUtc { get; set; }
 15
 016    public int OzonClientId { get; set; }
 17
 18    [MaxLength(255)]
 019    public string OzonClientName { get; set; } = "";
 20
 21    [MaxLength(64)]
 022    public string FilterStatus { get; set; } = "";
 23
 024    public DateOnly CutoffFrom { get; set; }
 025    public DateOnly CutoffTo { get; set; }
 26
 27    [MaxLength(32)]
 028    public string RunStatus { get; set; } = "running";
 29
 030    public string? ErrorMessage { get; set; }
 31
 032    public int TotalPostings { get; set; }
 033    public int TotalItems { get; set; }
 34
 035    public List<AssemblyListRunItem> Items { get; set; } = new();
 36}
 37
 38[Table("AssemblyListRunItems")]
 39public class AssemblyListRunItem
 40{
 41    [Key]
 42    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 43    public long Id { get; set; }
 44
 45    public long RunId { get; set; }
 46    public AssemblyListRun? Run { get; set; }
 47
 48    public int ItemIndex { get; set; }
 49
 50    [MaxLength(64)]
 51    public string PostingNumber { get; set; } = "";
 52
 53    [MaxLength(64)]
 54    public string Status { get; set; } = "";
 55
 56    [MaxLength(128)]
 57    public string StatusLabel { get; set; } = "";
 58
 59    public long WarehouseId { get; set; }
 60
 61    [MaxLength(255)]
 62    public string WarehouseName { get; set; } = "";
 63
 64    [MaxLength(128)]
 65    public string OfferId { get; set; } = "";
 66
 67    public string ProductName { get; set; } = "";
 68
 69    public string? ImageUrl { get; set; }
 70
 71    public int Quantity { get; set; }
 72    public DateTime? CutoffDate { get; set; }
 73
 74    public string? LabelUrl { get; set; }
 75    public string? LabelError { get; set; }
 76    public string? SupplierName { get; set; }
 77    public DateTime? OrderedToSupplierDate { get; set; }
 78    public decimal? OneCBalance { get; set; }
 79    public string? OneCReceiptDoc { get; set; }
 80    public Guid? OneCReceiptDocKey { get; set; }
 81    public string? OneCOtherStock { get; set; }
 82}