< Summary

Class:WinSolutions.Sveta.Server.Data.DataModel.Entities.BankAccount
Assembly:WinSolutions.Sveta.Server
File(s):/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/BankAccount.cs
Covered lines:4
Uncovered lines:1
Coverable lines:5
Total lines:39
Line coverage:80% (4 of 5)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_Contragent()0%100%
get_Bik()100%100%
get_SettlementAccount()100%100%
get_BankName()100%100%
get_CorrespondentAccount()100%100%

File(s)

/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/BankAccount.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Text;
 4using System.ComponentModel.DataAnnotations;
 5
 6namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 7{
 8    /// <summary>
 9    /// Банковский счет
 10    /// </summary>
 11    public class BankAccount : ExternalRecord, ITrackableRecord
 12    {
 013        public Contragent Contragent { get; set; }
 14
 15        /// <summary>
 16        /// БИК банка
 17        /// </summary>
 18        [Required]
 2719        public string Bik { get; set; }
 20
 21        /// <summary>
 22        /// Расчетный счет (Р/С)
 23        /// </summary>
 24        [Required]
 2725        public string SettlementAccount { get; set; }
 26
 27        /// <summary>
 28        /// Наименование банка
 29        /// </summary>
 30        [Required]
 1631        public string BankName { get; set; }
 32
 33        /// <summary>
 34        /// Корреспондендский счет (К/С)
 35        /// </summary>
 36        [Required]
 1437        public string CorrespondentAccount { get; set; }
 38    }
 39}