< Summary

Information
Class: OzonDomains.Models.ExcludedArticle
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/ExcludedArticle.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 19
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_Article()100%210%
get_OzonClientId()100%210%
get_OzonClient()100%210%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace OzonDomains.Models;
 5
 6public class ExcludedArticle
 7{
 08    public int Id { get; set; }
 9
 10    [MaxLength(100)]
 11    [Display(Name = "Артикул")]
 012    public string Article { get; set; } = null!;
 13
 14    [Required]
 015    public int OzonClientId { get; set; }
 16
 17    [ForeignKey(nameof(OzonClientId))]
 018    public OzonClient OzonClient { get; set; } = null!;
 19}