< Summary

Information
Class: FAU.Entidades.TipoBeneficio
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/TipoBeneficio.cs
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 42
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_EsMensual()100%11100%
get_PermiteRetroactividad()100%11100%
get_PlazoPresentacionDias()100%11100%
get_MontoReferencia()100%11100%
get_CatalogoItemId()100%11100%
get_Activo()100%11100%
get_BeneficiosSociales()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace FAU.Entidades;
 5
 6[Table("tipos_beneficio")]
 7public class TipoBeneficio
 8{
 9    [Key]
 10    [Column("id")]
 12311    public long Id { get; set; }
 12
 13    [Required]
 14    [MaxLength(30)]
 15    [Column("codigo")]
 19016    public string Codigo { get; set; } = string.Empty;
 17
 18    [Required]
 19    [MaxLength(120)]
 20    [Column("nombre")]
 18421    public string Nombre { get; set; } = string.Empty;
 22
 23    [Column("es_mensual")]
 5624    public bool EsMensual { get; set; }
 25
 26    [Column("permite_retroactividad")]
 4327    public bool PermiteRetroactividad { get; set; }
 28
 29    [Column("plazo_presentacion_dias")]
 2430    public short? PlazoPresentacionDias { get; set; }
 31
 32    [Column("monto_referencia", TypeName = "numeric(14,2)")]
 1933    public decimal? MontoReferencia { get; set; }
 34
 35    [Column("catalogo_item_id")]
 1936    public long? CatalogoItemId { get; set; }
 37
 38    [Column("activo")]
 15939    public bool Activo { get; set; } = true;
 40
 7841    public virtual ICollection<BeneficioSocial> BeneficiosSociales { get; set; } = new List<BeneficioSocial>();
 42}