< 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
100%
Covered lines: 21
Uncovered lines: 0
Coverable lines: 21
Total lines: 62
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_Estado()100%11100%
get_PrimerNombre()100%11100%
get_SegundoNombre()100%11100%
get_PrimerApellido()100%11100%
get_SegundoApellido()100%11100%
get_FechaNacimiento()100%11100%
get_Email()100%11100%
get_Telefono()100%11100%
get_Direccion()100%11100%
get_RegimenId()100%11100%
get_EscalafonId()100%11100%
get_GradoId()100%11100%
get_SituacionId()100%11100%
get_ProgramaId()100%11100%
get_UnidadId()100%11100%
get_CompaniaId()100%11100%
get_Observaciones()100%11100%
get_RiesgoVuelo()100%11100%
get_PrimaTecnica()100%11100%
get_PrimaSolidariaFamiliar()100%11100%
get_AniosInactivos()100%11100%

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)]
 113    public string? Estado { get; set; } // "activo", "inactivo"
 14
 15    // Datos Personales editables
 16    [MaxLength(100)]
 917    public string? PrimerNombre { get; set; }
 18
 19    [MaxLength(100)]
 520    public string? SegundoNombre { get; set; }
 21
 22    [MaxLength(100)]
 323    public string? PrimerApellido { get; set; }
 24
 25    [MaxLength(100)]
 526    public string? SegundoApellido { get; set; }
 27
 528    public DateTime? FechaNacimiento { get; set; }
 29
 30    [EmailAddress(ErrorMessage = "El email no es válido")]
 31    [MaxLength(150)]
 732    public string? Email { get; set; }
 33
 34    [MaxLength(30)]
 635    public string? Telefono { get; set; }
 36
 37    [MaxLength(200)]
 638    public string? Direccion { get; set; }
 39
 40    // Datos Laborales
 541    public long? RegimenId { get; set; }
 542    public long? EscalafonId { get; set; }
 543    public long? GradoId { get; set; }
 544    public long? SituacionId { get; set; }
 545    public long? ProgramaId { get; set; }
 546    public long? UnidadId { get; set; }
 347    public long? CompaniaId { get; set; }
 48
 49    [MaxLength(500)]
 850    public string? Observaciones { get; set; }
 51
 52    // Compensaciones
 553    public decimal? RiesgoVuelo { get; set; }
 54
 55    [MaxLength(10)]
 556    public string? PrimaTecnica { get; set; }
 57
 58    [MaxLength(30)]
 559    public string? PrimaSolidariaFamiliar { get; set; }
 60
 561    public int? AniosInactivos { get; set; }
 62}