< 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
94%
Covered lines: 32
Uncovered lines: 2
Coverable lines: 34
Total lines: 57
Line coverage: 94.1%
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%210%
get_Haberes()100%11100%
get_Beneficios()100%11100%
get_DescuentosLegales()100%11100%
get_DescuentosPersonales()100%11100%
get_TotalHaberes()100%11100%
get_TotalBeneficios()100%210%
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
 96    public int Anio { get; set; }
 97    public int Mes { get; set; }
 8
 9    // Datos del funcionario
 610    public long RelacionLaboralId { get; set; }
 1611    public string Cedula { get; set; } = string.Empty;
 1612    public string PrimerNombre { get; set; } = string.Empty;
 1013    public string SegundoNombre { get; set; } = string.Empty;
 1614    public string PrimerApellido { get; set; } = string.Empty;
 1015    public string SegundoApellido { get; set; } = string.Empty;
 1616    public string Grado { get; set; } = string.Empty;
 1617    public string Escalafon { get; set; } = string.Empty;
 1318    public string Regimen { get; set; } = string.Empty;
 1319    public string Unidad { get; set; } = string.Empty;
 1320    public string Programa { get; set; } = string.Empty;
 21
 22    // Campos para el recibo PDF
 1023    public string UnidadCodigo { get; set; } = string.Empty;
 1024    public string Compania { get; set; } = string.Empty;
 325    public bool EsOficial { get; set; }
 326    public bool EsSubalterno { get; set; }
 327    public bool EsCivil { get; set; }
 328    public DateTime FechaInicio { get; set; }
 029    public DateTime? FechaUltimoAscenso { get; set; }
 30
 31    // Secciones de ítems
 1732    public List<ReciboItemDto> Haberes { get; set; } = new();
 1033    public List<ReciboItemDto> Beneficios { get; set; } = new();
 1734    public List<ReciboItemDto> DescuentosLegales { get; set; } = new();
 2235    public List<ReciboItemDto> DescuentosPersonales { get; set; } = new();
 36
 37    // Totales
 1138    public decimal TotalHaberes { get; set; }
 039    public decimal TotalBeneficios { get; set; }
 1040    public decimal TotalDescuentosLegales { get; set; }
 1441    public decimal TotalDescuentosPersonales { get; set; }
 942    public decimal TotalDescuentos { get; set; }
 643    public decimal Nominal { get; set; }
 844    public decimal LiquidoPagable { get; set; }
 645    public decimal ACobrar { get; set; }
 346    public decimal Ajuste { get; set; }
 47
 48    // Datos bancarios
 1749    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}