| | | 1 | | namespace FAU.Logica.DTOs; |
| | | 2 | | |
| | | 3 | | /// <summary> |
| | | 4 | | /// DTO para retornar información de personal |
| | | 5 | | /// </summary> |
| | | 6 | | public class PersonalDto |
| | | 7 | | { |
| | 0 | 8 | | public long Id { get; set; } |
| | | 9 | | |
| | | 10 | | // Datos Personales |
| | 0 | 11 | | public long PersonaId { get; set; } |
| | 0 | 12 | | public string Cedula { get; set; } = string.Empty; |
| | 0 | 13 | | public string PrimerNombre { get; set; } = string.Empty; |
| | 0 | 14 | | public string? SegundoNombre { get; set; } |
| | 0 | 15 | | public string PrimerApellido { get; set; } = string.Empty; |
| | 0 | 16 | | public string? SegundoApellido { get; set; } |
| | 0 | 17 | | public string NombreCompleto { get; set; } = string.Empty; |
| | 0 | 18 | | public DateTime? FechaNacimiento { get; set; } |
| | 0 | 19 | | public string? Email { get; set; } |
| | 0 | 20 | | public string? Telefono { get; set; } |
| | 0 | 21 | | public string? Direccion { get; set; } |
| | | 22 | | |
| | | 23 | | // Datos Laborales |
| | 0 | 24 | | public string Estado { get; set; } = string.Empty; // activo, inactivo |
| | 0 | 25 | | public DateTime FechaInicio { get; set; } |
| | 0 | 26 | | public DateTime? FechaFin { get; set; } |
| | | 27 | | |
| | | 28 | | // Catálogos |
| | 0 | 29 | | public long RegimenId { get; set; } |
| | 0 | 30 | | public string RegimenDenominacion { get; set; } = string.Empty; |
| | | 31 | | |
| | 0 | 32 | | public long EscalafonId { get; set; } |
| | 0 | 33 | | public string EscalafonCodigo { get; set; } = string.Empty; |
| | 0 | 34 | | public string EscalafonDenominacion { get; set; } = string.Empty; |
| | | 35 | | |
| | 0 | 36 | | public long GradoId { get; set; } |
| | 0 | 37 | | public string GradoCodigo { get; set; } = string.Empty; |
| | 0 | 38 | | public string GradoDenominacion { get; set; } = string.Empty; |
| | | 39 | | |
| | 0 | 40 | | public long SituacionId { get; set; } |
| | 0 | 41 | | public string SituacionCodigo { get; set; } = string.Empty; |
| | 0 | 42 | | public string SituacionDenominacion { get; set; } = string.Empty; |
| | | 43 | | |
| | 0 | 44 | | public long ProgramaId { get; set; } |
| | 0 | 45 | | public string ProgramaCodigo { get; set; } = string.Empty; |
| | 0 | 46 | | public string ProgramaDenominacion { get; set; } = string.Empty; |
| | | 47 | | |
| | 0 | 48 | | public long UnidadId { get; set; } |
| | 0 | 49 | | public string UnidadCodigo { get; set; } = string.Empty; |
| | 0 | 50 | | public string UnidadDenominacion { get; set; } = string.Empty; |
| | | 51 | | |
| | 0 | 52 | | public long? SubUnidadId { get; set; } |
| | 0 | 53 | | public string? SubUnidadCodigo { get; set; } |
| | 0 | 54 | | public string? SubUnidadDenominacion { get; set; } |
| | | 55 | | |
| | | 56 | | // Compensaciones |
| | 0 | 57 | | public decimal? RiesgoVuelo { get; set; } |
| | 0 | 58 | | public string? PrimaTecnica { get; set; } |
| | 0 | 59 | | public string? PrimaSolidariaFamiliar { get; set; } |
| | 0 | 60 | | public int? AniosInactivos { get; set; } |
| | 0 | 61 | | public string? Observaciones { get; set; } |
| | | 62 | | |
| | 0 | 63 | | public DateTime FechaActualizacion { get; set; } |
| | | 64 | | } |
| | | 65 | | |