< Summary

Information
Class: FAU.Entidades.Acreedor
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/Acreedor.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 44
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_Id()100%11100%
get_Codigo()100%11100%
get_Nombre()100%11100%
get_CategoriaDeficit()100%11100%
get_OrdenLegalDeficit()100%11100%
get_FormatoArchivo()100%11100%
get_Contacto()100%11100%
get_Activo()100%11100%
get_DescuentosPersonalesPeriodo()100%11100%

File(s)

/home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/Acreedor.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace FAU.Entidades;
 5
 6[Table("acreedores")]
 7public class Acreedor
 8{
 9    [Key]
 10    [Column("id")]
 2711    public long Id { get; set; }
 12
 13    [Required]
 14    [MaxLength(20)]
 15    [Column("codigo")]
 7716    public string Codigo { get; set; } = string.Empty;
 17
 18    [Required]
 19    [MaxLength(150)]
 20    [Column("nombre")]
 8021    public string Nombre { get; set; } = string.Empty;
 22
 23    [Required]
 24    [MaxLength(60)]
 25    [Column("categoria_deficit")]
 5226    public string CategoriaDeficit { get; set; } = CategoriaDeficitDescuento.OtrasRetenciones;
 27
 28    [Required]
 29    [Column("orden_legal_deficit")]
 4930    public short OrdenLegalDeficit { get; set; } = OrdenLegalDeficitDescuento.OtrasRetenciones;
 31
 32    [MaxLength(10)]
 33    [Column("formato_archivo")]
 3934    public string? FormatoArchivo { get; set; } = "txt";
 35
 36    [MaxLength(200)]
 37    [Column("contacto")]
 138    public string? Contacto { get; set; }
 39
 40    [Column("activo")]
 7541    public bool Activo { get; set; } = true;
 42
 3843    public virtual ICollection<DescuentoPersonalPeriodo> DescuentosPersonalesPeriodo { get; set; } = new List<DescuentoP
 44}