< Summary

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

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace FAU.Entidades;
 5
 6[Table("regimenes")]
 7public class Regimen
 8{
 9    [Key]
 10    [Column("id")]
 8111    public long Id { get; set; }
 12
 13    [Required]
 14    [MaxLength(30)]
 15    [Column("numero_ley")]
 18816    public string NumeroLey { get; set; } = string.Empty;
 17
 18    [Required]
 19    [MaxLength(100)]
 20    [Column("denominacion")]
 18721    public string Denominacion { get; set; } = string.Empty;
 22
 23    [Column("vigente")]
 18524    public bool Vigente { get; set; } = true;
 25
 26    [Column("es_ley_vieja")]
 6327    public bool EsLeyVieja { get; set; } = false;
 28
 29    // Navegación
 11030    public virtual ICollection<RelacionLaboral> RelacionesLaborales { get; set; } = new List<RelacionLaboral>();
 31}
 32