< Summary

Information
Class: FAU.Logica.DTOs.PersonalListDto
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/PersonalListDto.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 13
Coverable lines: 13
Total lines: 27
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_Id()100%210%
get_Ci()100%210%
get_PrimerNombre()100%210%
get_SegundoNombre()100%210%
get_PrimerApellido()100%210%
get_SegundoApellido()100%210%
get_NombreCompleto()100%210%
get_ApellidoCompleto()100%210%
get_Cargo()100%210%
get_Grado()100%210%
get_Ley()100%210%
get_Estado()100%210%
get_FechaIngreso()100%210%

File(s)

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

#LineLine coverage
 1namespace FAU.Logica.DTOs;
 2
 3/// <summary>
 4/// DTO simplificado para listado de personal
 5/// </summary>
 6public class PersonalListDto
 7{
 08    public long Id { get; set; }
 09    public string Ci { get; set; } = string.Empty;
 10
 11    // Nombres completos
 012    public string PrimerNombre { get; set; } = string.Empty;
 013    public string? SegundoNombre { get; set; }
 014    public string PrimerApellido { get; set; } = string.Empty;
 015    public string? SegundoApellido { get; set; }
 16
 17    // Campos derivados para facilitar visualización
 018    public string NombreCompleto => $"{PrimerNombre} {SegundoNombre}".Trim();
 019    public string ApellidoCompleto => $"{PrimerApellido} {SegundoApellido}".Trim();
 20
 021    public string Cargo { get; set; } = string.Empty;
 022    public string Grado { get; set; } = string.Empty;
 023    public string Ley { get; set; } = string.Empty;
 024    public string Estado { get; set; } = string.Empty;
 025    public DateTime FechaIngreso { get; set; }
 26}
 27