| | | 1 | | namespace FAU.Entidades; |
| | | 2 | | |
| | | 3 | | // Resumen por programa |
| | | 4 | | public class ResumenProgramaDto |
| | | 5 | | { |
| | | 6 | | public List<ResumenProgramaFilaDto> Filas { get; set; } = new(); |
| | | 7 | | public ResumenProgramaFilaDto Totales { get; set; } = new(); |
| | | 8 | | } |
| | | 9 | | |
| | | 10 | | public 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 |
| | | 22 | | public class PadronRubroDto |
| | | 23 | | { |
| | | 24 | | public List<string> Rubros { get; set; } = new(); |
| | | 25 | | public List<PadronRubroFilaDto> Filas { get; set; } = new(); |
| | | 26 | | } |
| | | 27 | | |
| | | 28 | | public 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 |
| | | 41 | | public 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 |
| | | 56 | | public class MovimientoPersonalDto |
| | | 57 | | { |
| | | 58 | | public string Cedula { get; set; } = string.Empty; |
| | | 59 | | public string Nombre { get; set; } = string.Empty; |
| | | 60 | | public string TipoMovimiento { get; set; } = string.Empty; |
| | | 61 | | public DateTime FechaMovimiento { get; set; } |
| | | 62 | | public string? Motivo { get; set; } |
| | | 63 | | public string? RegimenAnterior { get; set; } |
| | | 64 | | public string? RegimenNuevo { get; set; } |
| | | 65 | | } |
| | | 66 | | |
| | | 67 | | // Padrón diferencias |
| | | 68 | | public class PadronDiferenciasDto |
| | | 69 | | { |
| | | 70 | | public List<DiferenciaFilaDto> Altas { get; set; } = new(); |
| | | 71 | | public List<DiferenciaFilaDto> Bajas { get; set; } = new(); |
| | | 72 | | } |
| | | 73 | | |
| | | 74 | | public class DiferenciaFilaDto |
| | | 75 | | { |
| | 31 | 76 | | public string Cedula { get; set; } = string.Empty; |
| | 18 | 77 | | public string Nombre { get; set; } = string.Empty; |
| | 18 | 78 | | public string Grado { get; set; } = string.Empty; |
| | 18 | 79 | | public string Regimen { get; set; } = string.Empty; |
| | 18 | 80 | | public string Programa { get; set; } = string.Empty; |
| | 10 | 81 | | public decimal Liquido { get; set; } |
| | | 82 | | } |
| | | 83 | | |
| | | 84 | | // No disponibles |
| | | 85 | | public 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 | | } |