| | | 1 | | namespace FAU.Entidades; |
| | | 2 | | |
| | | 3 | | // ─── Cuadro de Efectivos Superior ─────────────────────────────────────────── |
| | | 4 | | |
| | | 5 | | public 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 | | |
| | | 14 | | public class CuadroEfectivosSecundarioFilaDto |
| | | 15 | | { |
| | | 16 | | public string Grado { get; set; } = string.Empty; |
| | | 17 | | public int Reincorporados { get; set; } |
| | | 18 | | public int Equiparados { get; set; } |
| | | 19 | | public int Reservistas { get; set; } |
| | | 20 | | public int Total => Reincorporados + Equiparados + Reservistas; |
| | | 21 | | } |
| | | 22 | | |
| | | 23 | | public class CuadroEfectivosTotalesEscalafonDto |
| | | 24 | | { |
| | | 25 | | public string Escalafon { get; set; } = string.Empty; |
| | | 26 | | public int Total { get; set; } |
| | | 27 | | } |
| | | 28 | | |
| | | 29 | | public 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 | | |
| | | 39 | | public 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 | | |
| | | 47 | | public class CuadroEfectivosSubalternoSecundarioFilaDto |
| | | 48 | | { |
| | 0 | 49 | | public string Grado { get; set; } = string.Empty; |
| | 0 | 50 | | public int EnReserva { get; set; } |
| | 0 | 51 | | public int Reincorporados { get; set; } |
| | 0 | 52 | | public int Equiparados { get; set; } |
| | 0 | 53 | | public int Total => EnReserva + Reincorporados + Equiparados; |
| | | 54 | | } |
| | | 55 | | |
| | | 56 | | public 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 | | |
| | | 66 | | public 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 | | |
| | | 73 | | public 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 | | |
| | | 81 | | public 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 | | |
| | | 93 | | public 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 | | |
| | | 101 | | public class ListinContralorDto |
| | | 102 | | { |
| | | 103 | | public List<ListinSituacionDto> PorSituacion { get; set; } = new(); |
| | | 104 | | public ListinTotalesDto ResumenFinal { get; set; } = new(); |
| | | 105 | | } |
| | | 106 | | |
| | | 107 | | // ─── Comparativo SGH ──────────────────────────────────────────────────────── |
| | | 108 | | |
| | | 109 | | public 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 | | |
| | | 117 | | public 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 | | |
| | | 125 | | public 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 | | |
| | | 132 | | public 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 | | |
| | | 142 | | public 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 | | } |