< Summary

Information
Class: FAU.Entidades.Escalafon
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/Escalafon.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 30
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_Denominacion()100%11100%
get_Vigente()100%11100%
get_Grados()100%11100%
get_RelacionesLaborales()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace FAU.Entidades;
 5
 6[Table("escalafones")]
 7public class Escalafon
 8{
 9    [Key]
 10    [Column("id")]
 22011    public long Id { get; set; }
 12
 13    [Required]
 14    [MaxLength(30)]
 15    [Column("codigo")]
 46516    public string Codigo { get; set; } = string.Empty;
 17
 18    [Required]
 19    [MaxLength(100)]
 20    [Column("denominacion")]
 49221    public string Denominacion { get; set; } = string.Empty;
 22
 23    [Column("vigente")]
 43324    public bool Vigente { get; set; } = true;
 25
 26    // Navegación
 24827    public virtual ICollection<Grado> Grados { get; set; } = new List<Grado>();
 24828    public virtual ICollection<RelacionLaboral> RelacionesLaborales { get; set; } = new List<RelacionLaboral>();
 29}
 30