< Summary

Information
Class: FAU.Logica.DTOs.CreateAcreedorRequest
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/CreateAcreedorRequest.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 26
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_Codigo()100%11100%
get_Nombre()100%11100%
get_CategoriaDeficit()100%11100%
get_OrdenLegalDeficit()100%11100%
get_FormatoArchivo()100%11100%
get_Contacto()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace FAU.Logica.DTOs;
 4
 5public class CreateAcreedorRequest
 6{
 7    [Required]
 8    [MaxLength(20)]
 279    public string Codigo { get; set; } = string.Empty;
 10
 11    [Required]
 12    [MaxLength(150)]
 2313    public string Nombre { get; set; } = string.Empty;
 14
 15    [Required]
 2316    public string CategoriaDeficit { get; set; } = string.Empty;
 17
 18    [Required]
 419    public short OrdenLegalDeficit { get; set; }
 20
 21    [MaxLength(10)]
 1022    public string? FormatoArchivo { get; set; } = "txt";
 23
 24    [MaxLength(200)]
 225    public string? Contacto { get; set; }
 26}