< Summary

Information
Class: FAU.Entidades.CuadroEfectivosSecundarioFilaDto
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/ReporteControlDtos.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 148
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_Grado()100%11100%
get_Reincorporados()100%11100%
get_Equiparados()100%11100%
get_Reservistas()100%11100%
get_Total()100%11100%

File(s)

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

#LineLine coverage
 1namespace FAU.Entidades;
 2
 3// ─── Cuadro de Efectivos Superior ───────────────────────────────────────────
 4
 5public class CuadroEfectivosFilaDto
 6{
 7    public string Grado { get; set; } = string.Empty;
 8    public string Escalafon { get; set; } = string.Empty;
 9    public int EnCuadro { get; set; }
 10    public int FueraCuadro { get; set; }
 11    public int Total => EnCuadro + FueraCuadro;
 12}
 13
 14public class CuadroEfectivosSecundarioFilaDto
 15{
 216    public string Grado { get; set; } = string.Empty;
 217    public int Reincorporados { get; set; }
 218    public int Equiparados { get; set; }
 219    public int Reservistas { get; set; }
 120    public int Total => Reincorporados + Equiparados + Reservistas;
 21}
 22
 23public class CuadroEfectivosTotalesEscalafonDto
 24{
 25    public string Escalafon { get; set; } = string.Empty;
 26    public int Total { get; set; }
 27}
 28
 29public class CuadroEfectivosDto
 30{
 31    public List<CuadroEfectivosFilaDto> Filas { get; set; } = new();
 32    public List<CuadroEfectivosTotalesEscalafonDto> TotalesPorEscalafon { get; set; } = new();
 33    public int TotalGeneral { get; set; }
 34    public List<CuadroEfectivosSecundarioFilaDto> CuadroSecundario { get; set; } = new();
 35}
 36
 37// ─── Cuadro de Efectivos Subalterno ─────────────────────────────────────────
 38
 39public class CuadroEfectivosSubalternoFilaDto
 40{
 41    public string Grado { get; set; } = string.Empty;
 42    public int Efectivos { get; set; }
 43    public int Asignados { get; set; }
 44    public int Diferencia => Asignados - Efectivos;
 45}
 46
 47public class CuadroEfectivosSubalternoSecundarioFilaDto
 48{
 49    public string Grado { get; set; } = string.Empty;
 50    public int EnReserva { get; set; }
 51    public int Reincorporados { get; set; }
 52    public int Equiparados { get; set; }
 53    public int Total => EnReserva + Reincorporados + Equiparados;
 54}
 55
 56public class CuadroEfectivosSubalternoDto
 57{
 58    public List<CuadroEfectivosSubalternoFilaDto> Filas { get; set; } = new();
 59    public int TotalEfectivos { get; set; }
 60    public int TotalAsignados { get; set; }
 61    public List<CuadroEfectivosSubalternoSecundarioFilaDto> CuadroSecundario { get; set; } = new();
 62}
 63
 64// ─── Listín de Contralor ─────────────────────────────────────────────────────
 65
 66public class ListinItemDto
 67{
 68    public string CodigoConcepto { get; set; } = string.Empty;
 69    public string NombreConcepto { get; set; } = string.Empty;
 70    public decimal Importe { get; set; }
 71}
 72
 73public class ListinTotalesDto
 74{
 75    public decimal Nominal { get; set; }
 76    public decimal Montepio { get; set; }
 77    public decimal Descuentos { get; set; }
 78    public decimal Liquido { get; set; }
 79}
 80
 81public class ListinFuncionarioDto
 82{
 83    public string Cedula { get; set; } = string.Empty;
 84    public string Nombre { get; set; } = string.Empty;
 85    public string Grado { get; set; } = string.Empty;
 86    public string Escalafon { get; set; } = string.Empty;
 87    public List<ListinItemDto> Haberes { get; set; } = new();
 88    public List<ListinItemDto> Beneficios { get; set; } = new();
 89    public List<ListinItemDto> Descuentos { get; set; } = new();
 90    public ListinTotalesDto Totales { get; set; } = new();
 91}
 92
 93public class ListinSituacionDto
 94{
 95    public string Situacion { get; set; } = string.Empty;
 96    public string NombreSituacion { get; set; } = string.Empty;
 97    public List<ListinFuncionarioDto> Funcionarios { get; set; } = new();
 98    public ListinTotalesDto Subtotales { get; set; } = new();
 99}
 100
 101public class ListinContralorDto
 102{
 103    public List<ListinSituacionDto> PorSituacion { get; set; } = new();
 104    public ListinTotalesDto ResumenFinal { get; set; } = new();
 105}
 106
 107// ─── Comparativo SGH ────────────────────────────────────────────────────────
 108
 109public class PadronSghEntradaDto
 110{
 111    public string Cedula { get; set; } = string.Empty;
 112    public string SituacionCodigo { get; set; } = string.Empty;
 113    public string GradoCodigo { get; set; } = string.Empty;
 114    public long? ProgramaId { get; set; }
 115}
 116
 117public class ComparativoSoloSistemaDto
 118{
 119    public string Cedula { get; set; } = string.Empty;
 120    public string Nombre { get; set; } = string.Empty;
 121    public string Situacion { get; set; } = string.Empty;
 122    public string Grado { get; set; } = string.Empty;
 123}
 124
 125public class ComparativoSoloSghDto
 126{
 127    public string Cedula { get; set; } = string.Empty;
 128    public string SituacionCodigo { get; set; } = string.Empty;
 129    public string GradoCodigo { get; set; } = string.Empty;
 130}
 131
 132public class ComparativoDiferenciaDto
 133{
 134    public string Cedula { get; set; } = string.Empty;
 135    public string Nombre { get; set; } = string.Empty;
 136    public string SituacionSistema { get; set; } = string.Empty;
 137    public string SituacionSgh { get; set; } = string.Empty;
 138    public string GradoSistema { get; set; } = string.Empty;
 139    public string GradoSgh { get; set; } = string.Empty;
 140}
 141
 142public class ComparativoSghDto
 143{
 144    public List<ComparativoSoloSistemaDto> SoloEnSistema { get; set; } = new();
 145    public List<ComparativoSoloSghDto> SoloEnSgh { get; set; } = new();
 146    public List<ComparativoDiferenciaDto> Diferencias { get; set; } = new();
 147    public int TotalCoincidencias { get; set; }
 148}