< Summary

Information
Class: FAU.Logica.DTOs.UpdatePersonalRequest
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/UpdatePersonalRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 21
Coverable lines: 21
Total lines: 62
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_Estado()100%210%
get_PrimerNombre()100%210%
get_SegundoNombre()100%210%
get_PrimerApellido()100%210%
get_SegundoApellido()100%210%
get_FechaNacimiento()100%210%
get_Email()100%210%
get_Telefono()100%210%
get_Direccion()100%210%
get_RegimenId()100%210%
get_EscalafonId()100%210%
get_GradoId()100%210%
get_SituacionId()100%210%
get_ProgramaId()100%210%
get_UnidadId()100%210%
get_CompaniaId()100%210%
get_Observaciones()100%210%
get_RiesgoVuelo()100%210%
get_PrimaTecnica()100%210%
get_PrimaSolidariaFamiliar()100%210%
get_AniosInactivos()100%210%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace FAU.Logica.DTOs;
 4
 5/// <summary>
 6/// Request para actualizar datos de personal
 7/// Incluye campo estado para activar/desactivar
 8/// </summary>
 9public class UpdatePersonalRequest
 10{
 11    // Campo para activar/desactivar
 12    [MaxLength(20)]
 013    public string? Estado { get; set; } // "activo", "inactivo"
 14
 15    // Datos Personales editables
 16    [MaxLength(100)]
 017    public string? PrimerNombre { get; set; }
 18
 19    [MaxLength(100)]
 020    public string? SegundoNombre { get; set; }
 21
 22    [MaxLength(100)]
 023    public string? PrimerApellido { get; set; }
 24
 25    [MaxLength(100)]
 026    public string? SegundoApellido { get; set; }
 27
 028    public DateTime? FechaNacimiento { get; set; }
 29
 30    [EmailAddress(ErrorMessage = "El email no es válido")]
 31    [MaxLength(150)]
 032    public string? Email { get; set; }
 33
 34    [MaxLength(30)]
 035    public string? Telefono { get; set; }
 36
 37    [MaxLength(200)]
 038    public string? Direccion { get; set; }
 39
 40    // Datos Laborales
 041    public long? RegimenId { get; set; }
 042    public long? EscalafonId { get; set; }
 043    public long? GradoId { get; set; }
 044    public long? SituacionId { get; set; }
 045    public long? ProgramaId { get; set; }
 046    public long? UnidadId { get; set; }
 047    public long? CompaniaId { get; set; }
 48
 49    [MaxLength(500)]
 050    public string? Observaciones { get; set; }
 51
 52    // Compensaciones
 053    public decimal? RiesgoVuelo { get; set; }
 54
 55    [MaxLength(10)]
 056    public string? PrimaTecnica { get; set; }
 57
 58    [MaxLength(30)]
 059    public string? PrimaSolidariaFamiliar { get; set; }
 60
 061    public int? AniosInactivos { get; set; }
 62}