< Summary

Information
Class: OzonDomains.Models.ExcludedBitrixWarehouse
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/ExcludedBitrixWarehouse.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 20
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_Name()100%210%
get_Comment()100%210%
get_IsActive()100%210%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace OzonDomains.Models;
 5
 6[Table("ExcludedWarehouses")]
 7public class ExcludedBitrixWarehouse
 8{
 09    public int Id { get; set; }
 10
 11    [StringLength(100)]
 12    [Display(Name = "Название склада")]
 013    public string? Name { get; set; }
 14
 15    [StringLength(255)]
 16    [Display(Name = "Комментарий / причина исключения")]
 017    public string? Comment { get; set; }
 18
 019    [Display(Name = "Активен")] public bool IsActive { get; set; } = true;
 20}