< Summary

Information
Class: FAU.Logica.DTOs.ControlPorcentualMdnFilaDto
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/ReporteMDNDtos.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 11
Coverable lines: 11
Total lines: 94
Line coverage: 0%
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_Cedula()100%210%
get_Nombre()100%210%
get_Grado()100%210%
get_Unidad()100%210%
get_HaberesGravados()100%210%
get_HaberesNoGravados()100%210%
get_BeneficiosSociales()100%210%
get_DescuentosLegales()100%210%
get_LiquidoMDN()100%210%
get_Calculo30Porciento()100%210%
get_PorcentajeReal()100%210%

File(s)

/home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/ReporteMDNDtos.cs

#LineLine coverage
 1namespace FAU.Logica.DTOs;
 2
 3// ─── RPT-MDN-1: Padrón del Personal ───────────────────────────────────────
 4
 5public 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
 23public 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
 36public class LiquidacionRubrosMdnDto
 37{
 38    public List<string> ObjetosGasto { get; set; } = new();
 39    public List<LiquidacionRubrosMdnFilaDto> Filas { get; set; } = new();
 40    public decimal TotalHaberes { get; set; }
 41    public decimal TotalDescuentosLegales { get; set; }
 42    public decimal LiquidoMDN { get; set; }
 43}
 44
 45// ─── RPT-MDN-3: Control Porcentual ────────────────────────────────────────
 46
 47public class ControlPorcentualMdnFilaDto
 48{
 049    public string Cedula { get; set; } = string.Empty;
 050    public string Nombre { get; set; } = string.Empty;
 051    public string Grado { get; set; } = string.Empty;
 052    public string Unidad { get; set; } = string.Empty;
 053    public decimal HaberesGravados { get; set; }
 054    public decimal HaberesNoGravados { get; set; }
 055    public decimal BeneficiosSociales { get; set; }
 056    public decimal DescuentosLegales { get; set; }
 057    public decimal LiquidoMDN { get; set; }
 058    public decimal Calculo30Porciento { get; set; }
 059    public decimal PorcentajeReal { get; set; }
 60}
 61
 62public 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
 75public 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
 83public 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}