< Summary

Information
Class: FAU.Entidades.MovimientoPersonalDto
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/ReportePresupuestalDtos.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 92
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_Cedula()100%11100%
get_Nombre()100%11100%
get_TipoMovimiento()100%11100%
get_FechaMovimiento()100%11100%
get_Motivo()100%11100%
get_RegimenAnterior()100%11100%
get_RegimenNuevo()100%11100%

File(s)

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

#LineLine coverage
 1namespace FAU.Entidades;
 2
 3// Resumen por programa
 4public class ResumenProgramaDto
 5{
 6    public List<ResumenProgramaFilaDto> Filas { get; set; } = new();
 7    public ResumenProgramaFilaDto Totales { get; set; } = new();
 8}
 9
 10public class ResumenProgramaFilaDto
 11{
 12    public string Programa { get; set; } = string.Empty;
 13    public long ProgramaId { get; set; }
 14    public string Regimen { get; set; } = string.Empty;
 15    public long RegimenId { get; set; }
 16    public decimal TotalNominal { get; set; }
 17    public decimal TotalRetenciones { get; set; }
 18    public decimal Liquido { get; set; }
 19}
 20
 21// Padrón por rubro
 22public class PadronRubroDto
 23{
 24    public List<string> Rubros { get; set; } = new();
 25    public List<PadronRubroFilaDto> Filas { get; set; } = new();
 26}
 27
 28public class PadronRubroFilaDto
 29{
 30    public string Cedula { get; set; } = string.Empty;
 31    public string Nombre { get; set; } = string.Empty;
 32    public string Grado { get; set; } = string.Empty;
 33    public string Escalafon { get; set; } = string.Empty;
 34    public string Regimen { get; set; } = string.Empty;
 35    public string Programa { get; set; } = string.Empty;
 36    public string Unidad { get; set; } = string.Empty;
 37    public Dictionary<string, decimal> MontosPorRubro { get; set; } = new();
 38}
 39
 40// Padrón mensual
 41public class PadronMensualFilaDto
 42{
 43    public string Cedula { get; set; } = string.Empty;
 44    public string Nombre { get; set; } = string.Empty;
 45    public string Grado { get; set; } = string.Empty;
 46    public string Escalafon { get; set; } = string.Empty;
 47    public string Regimen { get; set; } = string.Empty;
 48    public string Programa { get; set; } = string.Empty;
 49    public string Unidad { get; set; } = string.Empty;
 50    public decimal TotalHaberes { get; set; }
 51    public decimal TotalDescuentos { get; set; }
 52    public decimal Liquido { get; set; }
 53}
 54
 55// Movimientos de personal
 56public class MovimientoPersonalDto
 57{
 1058    public string Cedula { get; set; } = string.Empty;
 859    public string Nombre { get; set; } = string.Empty;
 860    public string TipoMovimiento { get; set; } = string.Empty;
 561    public DateTime FechaMovimiento { get; set; }
 662    public string? Motivo { get; set; }
 363    public string? RegimenAnterior { get; set; }
 364    public string? RegimenNuevo { get; set; }
 65}
 66
 67// Padrón diferencias
 68public class PadronDiferenciasDto
 69{
 70    public List<DiferenciaFilaDto> Altas { get; set; } = new();
 71    public List<DiferenciaFilaDto> Bajas { get; set; } = new();
 72}
 73
 74public class DiferenciaFilaDto
 75{
 76    public string Cedula { get; set; } = string.Empty;
 77    public string Nombre { get; set; } = string.Empty;
 78    public string Grado { get; set; } = string.Empty;
 79    public string Regimen { get; set; } = string.Empty;
 80    public string Programa { get; set; } = string.Empty;
 81    public decimal Liquido { get; set; }
 82}
 83
 84// No disponibles
 85public class NoDisponibleDto
 86{
 87    public string Cedula { get; set; } = string.Empty;
 88    public string Nombre { get; set; } = string.Empty;
 89    public string Situacion { get; set; } = string.Empty;
 90    public bool TieneItemsLiquidacion { get; set; }
 91    public decimal TotalLiquidado { get; set; }
 92}