< Summary

Information
Class: FAU.Logica.DTOs.CreateDependienteRequest
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/CreateDependienteRequest.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 31
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_PersonaId()100%11100%
get_CedulaTitular()100%11100%
get_Tipo()100%11100%
get_Nombre()100%11100%
get_Cedula()100%11100%
get_FechaNacimiento()100%11100%
get_Discapacitado()100%11100%
get_PorcentajeDeduccion()100%11100%
get_VigenteHasta()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace FAU.Logica.DTOs;
 4
 5public class CreateDependienteRequest
 6{
 7    [Required]
 58    public long PersonaId { get; set; }
 9
 10    [MaxLength(12)]
 2811    public string? CedulaTitular { get; set; }
 12
 13    [Required]
 14    [MaxLength(30)]
 7015    public string Tipo { get; set; } = string.Empty;
 16
 17    [Required]
 18    [MaxLength(100)]
 3719    public string Nombre { get; set; } = string.Empty;
 20
 21    [MaxLength(20)]
 1422    public string? Cedula { get; set; }
 23
 2924    public DateTime? FechaNacimiento { get; set; }
 25
 326    public bool Discapacitado { get; set; } = false;
 27
 1628    public short? PorcentajeDeduccion { get; set; }
 29
 1130    public DateTime? VigenteHasta { get; set; }
 31}