< Summary

Information
Class: FAU.Entidades.ReciboDto
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/ReciboDto.cs
Line coverage
100%
Covered lines: 34
Uncovered lines: 0
Coverable lines: 34
Total lines: 57
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_Anio()100%11100%
get_Mes()100%11100%
get_RelacionLaboralId()100%11100%
get_Cedula()100%11100%
get_PrimerNombre()100%11100%
get_SegundoNombre()100%11100%
get_PrimerApellido()100%11100%
get_SegundoApellido()100%11100%
get_Grado()100%11100%
get_Escalafon()100%11100%
get_Regimen()100%11100%
get_Unidad()100%11100%
get_Programa()100%11100%
get_UnidadCodigo()100%11100%
get_Compania()100%11100%
get_EsOficial()100%11100%
get_EsSubalterno()100%11100%
get_EsCivil()100%11100%
get_FechaInicio()100%11100%
get_FechaUltimoAscenso()100%11100%
get_Haberes()100%11100%
get_Beneficios()100%11100%
get_DescuentosLegales()100%11100%
get_DescuentosPersonales()100%11100%
get_TotalHaberes()100%11100%
get_TotalBeneficios()100%11100%
get_TotalDescuentosLegales()100%11100%
get_TotalDescuentosPersonales()100%11100%
get_TotalDescuentos()100%11100%
get_Nominal()100%11100%
get_LiquidoPagable()100%11100%
get_ACobrar()100%11100%
get_Ajuste()100%11100%
get_DatosBancarios()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
 106    public int Anio { get; set; }
 107    public int Mes { get; set; }
 8
 9    // Datos del funcionario
 710    public long RelacionLaboralId { get; set; }
 1811    public string Cedula { get; set; } = string.Empty;
 1812    public string PrimerNombre { get; set; } = string.Empty;
 1213    public string SegundoNombre { get; set; } = string.Empty;
 1814    public string PrimerApellido { get; set; } = string.Empty;
 1215    public string SegundoApellido { get; set; } = string.Empty;
 1816    public string Grado { get; set; } = string.Empty;
 1817    public string Escalafon { get; set; } = string.Empty;
 1518    public string Regimen { get; set; } = string.Empty;
 1519    public string Unidad { get; set; } = string.Empty;
 1520    public string Programa { get; set; } = string.Empty;
 21
 22    // Campos para el recibo PDF
 1223    public string UnidadCodigo { get; set; } = string.Empty;
 1224    public string Compania { get; set; } = string.Empty;
 425    public bool EsOficial { get; set; }
 426    public bool EsSubalterno { get; set; }
 427    public bool EsCivil { get; set; }
 428    public DateTime FechaInicio { get; set; }
 129    public DateTime? FechaUltimoAscenso { get; set; }
 30
 31    // Secciones de ítems
 2132    public List<ReciboItemDto> Haberes { get; set; } = new();
 1333    public List<ReciboItemDto> Beneficios { get; set; } = new();
 2134    public List<ReciboItemDto> DescuentosLegales { get; set; } = new();
 2535    public List<ReciboItemDto> DescuentosPersonales { get; set; } = new();
 36
 37    // Totales
 1338    public decimal TotalHaberes { get; set; }
 239    public decimal TotalBeneficios { get; set; }
 1240    public decimal TotalDescuentosLegales { get; set; }
 1541    public decimal TotalDescuentosPersonales { get; set; }
 1042    public decimal TotalDescuentos { get; set; }
 843    public decimal Nominal { get; set; }
 944    public decimal LiquidoPagable { get; set; }
 845    public decimal ACobrar { get; set; }
 446    public decimal Ajuste { get; set; }
 47
 48    // Datos bancarios
 1949    public ReciboDatosBancariosDto DatosBancarios { get; set; } = new();
 50}
 51
 52public class ReciboDatosBancariosDto
 53{
 54    public string? Banco { get; set; }
 55    public string? Cuenta { get; set; }
 56    public string? Observacion { get; set; }
 57}