< Summary

Information
Class: FAU.Entidades.ReciboDatosBancariosDto
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/ReciboDto.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 43
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_Banco()100%11100%
get_Cuenta()100%11100%
get_Observacion()100%11100%

File(s)

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

#LineLine coverage
 1namespace FAU.Entidades;
 2
 3public class ReciboDto
 4{
 5    // Datos del período
 6    public int Anio { get; set; }
 7    public int Mes { get; set; }
 8
 9    // Datos del funcionario
 10    public long RelacionId { get; set; }
 11    public string Cedula { get; set; } = string.Empty;
 12    public string PrimerNombre { get; set; } = string.Empty;
 13    public string SegundoNombre { get; set; } = string.Empty;
 14    public string PrimerApellido { get; set; } = string.Empty;
 15    public string SegundoApellido { get; set; } = string.Empty;
 16    public string Grado { get; set; } = string.Empty;
 17    public string Escalafon { get; set; } = string.Empty;
 18    public string Regimen { get; set; } = string.Empty;
 19    public string Unidad { get; set; } = string.Empty;
 20    public string Programa { get; set; } = string.Empty;
 21
 22    // Secciones de ítems
 23    public List<ReciboItemDto> Haberes { get; set; } = new();
 24    public List<ReciboItemDto> DescuentosLegales { get; set; } = new();
 25    public List<ReciboItemDto> DescuentosPersonales { get; set; } = new();
 26
 27    // Totales
 28    public decimal TotalHaberes { get; set; }
 29    public decimal TotalDescuentosLegales { get; set; }
 30    public decimal TotalDescuentosPersonales { get; set; }
 31    public decimal TotalDescuentos { get; set; }
 32    public decimal LiquidoPagable { get; set; }
 33
 34    // Datos bancarios
 35    public ReciboDatosBancariosDto DatosBancarios { get; set; } = new();
 36}
 37
 38public class ReciboDatosBancariosDto
 39{
 1040    public string? Banco { get; set; }
 1441    public string? Cuenta { get; set; }
 442    public string? Observacion { get; set; }
 43}