< Summary

Information
Class: OzonDomains.Models.OzonClient
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/OzonClient.cs
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 44
Line coverage: 100%
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%11100%
get_Name()100%11100%
get_ClientId()100%11100%
get_ApiKey()100%11100%
get_INNCode()100%11100%
get_WarehouseName()100%11100%
get_DecryptClientId()100%11100%
get_DecryptApiKey()100%11100%
get_CurrencyCode()100%11100%
get_ClientType()100%11100%

File(s)

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

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel.DataAnnotations;
 4using System.ComponentModel.DataAnnotations.Schema;
 5
 6namespace OzonDomains.Models
 7{
 8    public class OzonClient
 9    {
 61710        public int Id { get; set; }
 11
 12        [MaxLength(50)]
 13        [Display(Name = "Название")]
 72114        public string Name { get; set; } = null!;
 15
 16        [MaxLength(100)]
 17        [Display(Name = "Client Id")]
 15218        public string? ClientId { get; set; }
 19
 20        [MaxLength(500)]
 21        [Display(Name = "Api Key")]
 15322        public string? ApiKey { get; set; }
 23
 24        [MaxLength(20)]
 25        [Display(Name = "ИНН")]
 23026        public string? INNCode { get; set; }
 27
 28        [MaxLength(100)]
 29        [Display(Name = "Название склада")]
 20730        public string? WarehouseName { get; set; }
 31
 32        [NotMapped]
 7233        public string? DecryptClientId { get; set; }
 34
 35        [NotMapped]
 3536        public string? DecryptApiKey { get; set; }
 37
 38        [Display(Name = "Валюта")]
 19539        public CurrencyCode CurrencyCode { get; set; }
 40
 41        [Display(Name = "Тип клиента")]
 63142        public ClientType ClientType { get; set; }
 43    }
 44}