| | | 1 | | namespace FAU.Entidades; |
| | | 2 | | |
| | | 3 | | public class ReciboDto |
| | | 4 | | { |
| | | 5 | | // Datos del período |
| | 10 | 6 | | public int Anio { get; set; } |
| | 10 | 7 | | public int Mes { get; set; } |
| | | 8 | | |
| | | 9 | | // Datos del funcionario |
| | 7 | 10 | | public long RelacionLaboralId { get; set; } |
| | 18 | 11 | | public string Cedula { get; set; } = string.Empty; |
| | 18 | 12 | | public string PrimerNombre { get; set; } = string.Empty; |
| | 12 | 13 | | public string SegundoNombre { get; set; } = string.Empty; |
| | 18 | 14 | | public string PrimerApellido { get; set; } = string.Empty; |
| | 12 | 15 | | public string SegundoApellido { get; set; } = string.Empty; |
| | 18 | 16 | | public string Grado { get; set; } = string.Empty; |
| | 18 | 17 | | public string Escalafon { get; set; } = string.Empty; |
| | 15 | 18 | | public string Regimen { get; set; } = string.Empty; |
| | 15 | 19 | | public string Unidad { get; set; } = string.Empty; |
| | 15 | 20 | | public string Programa { get; set; } = string.Empty; |
| | | 21 | | |
| | | 22 | | // Campos para el recibo PDF |
| | 12 | 23 | | public string UnidadCodigo { get; set; } = string.Empty; |
| | 12 | 24 | | public string Compania { get; set; } = string.Empty; |
| | 4 | 25 | | public bool EsOficial { get; set; } |
| | 4 | 26 | | public bool EsSubalterno { get; set; } |
| | 4 | 27 | | public bool EsCivil { get; set; } |
| | 4 | 28 | | public DateTime FechaInicio { get; set; } |
| | 1 | 29 | | public DateTime? FechaUltimoAscenso { get; set; } |
| | | 30 | | |
| | | 31 | | // Secciones de ítems |
| | 21 | 32 | | public List<ReciboItemDto> Haberes { get; set; } = new(); |
| | 13 | 33 | | public List<ReciboItemDto> Beneficios { get; set; } = new(); |
| | 21 | 34 | | public List<ReciboItemDto> DescuentosLegales { get; set; } = new(); |
| | 25 | 35 | | public List<ReciboItemDto> DescuentosPersonales { get; set; } = new(); |
| | | 36 | | |
| | | 37 | | // Totales |
| | 13 | 38 | | public decimal TotalHaberes { get; set; } |
| | 2 | 39 | | public decimal TotalBeneficios { get; set; } |
| | 12 | 40 | | public decimal TotalDescuentosLegales { get; set; } |
| | 15 | 41 | | public decimal TotalDescuentosPersonales { get; set; } |
| | 10 | 42 | | public decimal TotalDescuentos { get; set; } |
| | 8 | 43 | | public decimal Nominal { get; set; } |
| | 9 | 44 | | public decimal LiquidoPagable { get; set; } |
| | 8 | 45 | | public decimal ACobrar { get; set; } |
| | 4 | 46 | | public decimal Ajuste { get; set; } |
| | | 47 | | |
| | | 48 | | // Datos bancarios |
| | 19 | 49 | | public ReciboDatosBancariosDto DatosBancarios { get; set; } = new(); |
| | | 50 | | } |
| | | 51 | | |
| | | 52 | | public class ReciboDatosBancariosDto |
| | | 53 | | { |
| | | 54 | | public string? Banco { get; set; } |
| | | 55 | | public string? Cuenta { get; set; } |
| | | 56 | | public string? Observacion { get; set; } |
| | | 57 | | } |