< Summary

Information
Class: OzonDomains.Models.ProfitLigaPointMapping
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/ProfitLigaPointMapping.cs
Line coverage
80%
Covered lines: 4
Uncovered lines: 1
Coverable lines: 5
Total lines: 16
Line coverage: 80%
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_ShipmentWarehouseId()100%11100%
get_ShipmentWarehouse()100%11100%
get_PointCode()100%11100%
get_PointName()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace OzonDomains.Models;
 4
 5/// <summary>Связь «склад отгрузки Studio2 → торговая точка Профит-Лиги». Точка определяет
 6/// адрес доставки и дату поставки в заказе; без связи оформление требует ручного выбора.</summary>
 7public sealed class ProfitLigaPointMapping
 8{
 09    public long Id { get; set; }
 10
 12511    public int ShipmentWarehouseId { get; set; }
 312    public Warehouse ShipmentWarehouse { get; set; } = null!;
 13
 28414    [Required, MaxLength(120)] public string PointCode { get; set; } = string.Empty;
 13615    [MaxLength(300)] public string? PointName { get; set; }
 16}