| | | 1 | | namespace FAU.Logica.DTOs; |
| | | 2 | | |
| | | 3 | | // ─── RPT-MDN-1: Padrón del Personal ─────────────────────────────────────── |
| | | 4 | | |
| | | 5 | | public class PadronPersonalMdnDto |
| | | 6 | | { |
| | | 7 | | public string Cedula { get; set; } = string.Empty; |
| | | 8 | | public string Apellidos { get; set; } = string.Empty; |
| | | 9 | | public string Nombres { get; set; } = string.Empty; |
| | | 10 | | public string Situacion { get; set; } = string.Empty; |
| | | 11 | | public string Grado { get; set; } = string.Empty; |
| | | 12 | | public string Escalafon { get; set; } = string.Empty; |
| | | 13 | | public string Regimen { get; set; } = string.Empty; |
| | | 14 | | public short? AniosTropa { get; set; } |
| | | 15 | | public DateTime? FechaIngreso { get; set; } |
| | | 16 | | public DateTime? FechaRetiro { get; set; } |
| | | 17 | | public DateTime? FechaOficialidad { get; set; } |
| | | 18 | | public DateTime? FechaUltimoAscenso { get; set; } |
| | | 19 | | } |
| | | 20 | | |
| | | 21 | | // ─── RPT-MDN-2: Liquidación por Rubros ──────────────────────────────────── |
| | | 22 | | |
| | | 23 | | public class LiquidacionRubrosMdnFilaDto |
| | | 24 | | { |
| | | 25 | | public string Cedula { get; set; } = string.Empty; |
| | | 26 | | public string Nombre { get; set; } = string.Empty; |
| | | 27 | | public string Grado { get; set; } = string.Empty; |
| | | 28 | | public string Regimen { get; set; } = string.Empty; |
| | | 29 | | public string Programa { get; set; } = string.Empty; |
| | | 30 | | public Dictionary<string, decimal> MontosPorObjetoGasto { get; set; } = new(); |
| | | 31 | | public decimal TotalHaberes { get; set; } |
| | | 32 | | public decimal TotalDescuentosLegales { get; set; } |
| | | 33 | | public decimal LiquidoMDN { get; set; } |
| | | 34 | | } |
| | | 35 | | |
| | | 36 | | public class LiquidacionRubrosMdnDto |
| | | 37 | | { |
| | 0 | 38 | | public List<string> ObjetosGasto { get; set; } = new(); |
| | 0 | 39 | | public List<LiquidacionRubrosMdnFilaDto> Filas { get; set; } = new(); |
| | 0 | 40 | | public decimal TotalHaberes { get; set; } |
| | 0 | 41 | | public decimal TotalDescuentosLegales { get; set; } |
| | 0 | 42 | | public decimal LiquidoMDN { get; set; } |
| | | 43 | | } |
| | | 44 | | |
| | | 45 | | // ─── RPT-MDN-3: Control Porcentual ──────────────────────────────────────── |
| | | 46 | | |
| | | 47 | | public class ControlPorcentualMdnFilaDto |
| | | 48 | | { |
| | | 49 | | public string Cedula { get; set; } = string.Empty; |
| | | 50 | | public string Nombre { get; set; } = string.Empty; |
| | | 51 | | public string Grado { get; set; } = string.Empty; |
| | | 52 | | public string Unidad { get; set; } = string.Empty; |
| | | 53 | | public decimal HaberesGravados { get; set; } |
| | | 54 | | public decimal HaberesNoGravados { get; set; } |
| | | 55 | | public decimal BeneficiosSociales { get; set; } |
| | | 56 | | public decimal DescuentosLegales { get; set; } |
| | | 57 | | public decimal LiquidoMDN { get; set; } |
| | | 58 | | public decimal Calculo30Porciento { get; set; } |
| | | 59 | | public decimal PorcentajeReal { get; set; } |
| | | 60 | | } |
| | | 61 | | |
| | | 62 | | public class ControlPorcentualMdnResumenDto |
| | | 63 | | { |
| | | 64 | | public int CantidadSuperior50 { get; set; } |
| | | 65 | | public decimal ImporteSuperior50 { get; set; } |
| | | 66 | | public int CantidadEntre40Y50 { get; set; } |
| | | 67 | | public decimal ImporteEntre40Y50 { get; set; } |
| | | 68 | | public int CantidadEntre30Y40 { get; set; } |
| | | 69 | | public decimal ImporteEntre30Y40 { get; set; } |
| | | 70 | | public int CantidadInferior30 { get; set; } |
| | | 71 | | public decimal ImporteInferior30 { get; set; } |
| | | 72 | | public decimal TotalDeudasNoAtendidas { get; set; } |
| | | 73 | | } |
| | | 74 | | |
| | | 75 | | public class ControlPorcentualMdnDto |
| | | 76 | | { |
| | | 77 | | public List<ControlPorcentualMdnFilaDto> Filas { get; set; } = new(); |
| | | 78 | | public ControlPorcentualMdnResumenDto Resumen { get; set; } = new(); |
| | | 79 | | } |
| | | 80 | | |
| | | 81 | | // ─── RPT-MDN-4: Haberes Gravables / No Gravables ────────────────────────── |
| | | 82 | | |
| | | 83 | | public class HaberesGravablesMdnFilaDto |
| | | 84 | | { |
| | | 85 | | public string Cedula { get; set; } = string.Empty; |
| | | 86 | | public string Nombre { get; set; } = string.Empty; |
| | | 87 | | public DateTime? FechaIngreso { get; set; } |
| | | 88 | | public string Situacion { get; set; } = string.Empty; |
| | | 89 | | public string Grado { get; set; } = string.Empty; |
| | | 90 | | public string Escalafon { get; set; } = string.Empty; |
| | | 91 | | public decimal HaberesGravados { get; set; } |
| | | 92 | | public decimal HaberesNoGravados { get; set; } |
| | | 93 | | public decimal BeneficiosGravados { get; set; } |
| | | 94 | | } |