< Summary

Information
Class: FAU.Entidades.Banco
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/Banco.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 29
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_Codigo()100%11100%
get_Nombre()100%11100%
get_Vigente()100%11100%
get_CuentasBancarias()100%11100%

File(s)

/home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/Banco.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace FAU.Entidades;
 5
 6[Table("bancos")]
 7public class Banco
 8{
 9    [Key]
 10    [Column("id")]
 7211    public long Id { get; set; }
 12
 13    [Required]
 14    [MaxLength(20)]
 15    [Column("codigo")]
 19816    public string Codigo { get; set; } = string.Empty;
 17
 18    [Required]
 19    [MaxLength(100)]
 20    [Column("nombre")]
 19421    public string Nombre { get; set; } = string.Empty;
 22
 23    [Column("vigente")]
 18724    public bool Vigente { get; set; } = true;
 25
 26    // Navegación
 9027    public virtual ICollection<CuentaBancaria> CuentasBancarias { get; set; } = new List<CuentaBancaria>();
 28}
 29