< 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: 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_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 RelacionLaboralId { 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    // Campos para el recibo PDF
 23    public string UnidadCodigo { get; set; } = string.Empty;
 24    public string Compania { get; set; } = string.Empty;
 25    public bool EsOficial { get; set; }
 26    public bool EsSubalterno { get; set; }
 27    public bool EsCivil { get; set; }
 28    public DateTime FechaInicio { get; set; }
 29    public DateTime? FechaUltimoAscenso { get; set; }
 30
 31    // Secciones de ítems
 32    public List<ReciboItemDto> Haberes { get; set; } = new();
 33    public List<ReciboItemDto> Beneficios { get; set; } = new();
 34    public List<ReciboItemDto> DescuentosLegales { get; set; } = new();
 35    public List<ReciboItemDto> DescuentosPersonales { get; set; } = new();
 36
 37    // Totales
 38    public decimal TotalHaberes { get; set; }
 39    public decimal TotalBeneficios { get; set; }
 40    public decimal TotalDescuentosLegales { get; set; }
 41    public decimal TotalDescuentosPersonales { get; set; }
 42    public decimal TotalDescuentos { get; set; }
 43    public decimal Nominal { get; set; }
 44    public decimal LiquidoPagable { get; set; }
 45    public decimal ACobrar { get; set; }
 46    public decimal Ajuste { get; set; }
 47
 48    // Datos bancarios
 49    public ReciboDatosBancariosDto DatosBancarios { get; set; } = new();
 50}
 51
 52public class ReciboDatosBancariosDto
 53{
 854    public string? Banco { get; set; }
 955    public string? Cuenta { get; set; }
 356    public string? Observacion { get; set; }
 57}