< Summary

Information
Class: FAU.Entidades.AguinaldoBaja
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/AguinaldoBaja.cs
Line coverage
100%
Covered lines: 22
Uncovered lines: 0
Coverable lines: 22
Total lines: 93
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_PersonaId()100%11100%
get_Cedula()100%11100%
get_NombreCompleto()100%11100%
get_FechaBaja()100%11100%
get_MotivoBajaCodigo()100%11100%
get_Anio()100%11100%
get_Mes()100%11100%
get_Semestre()100%11100%
get_TotalHaberesGravados()100%11100%
get_MesesComputados()100%11100%
get_MesInicioPeriodo()100%11100%
get_MesFinPeriodo()100%11100%
get_MesLiquidacion()100%11100%
get_Nominal()100%11100%
get_Montepio()100%11100%
get_Sanidad()100%11100%
get_TotalDescuentos()100%11100%
get_Liquido()100%11100%
get_Redondeo()100%11100%
get_Estado()100%11100%
get_Items()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace FAU.Entidades;
 5
 6[Table("aguinaldo_baja")]
 7public class AguinaldoBaja
 8{
 9    [Key]
 10    [Column("id")]
 1011    public long Id { get; set; }
 12
 13    [Required]
 14    [Column("persona_id")]
 2715    public long PersonaId { get; set; }
 16
 17    [Required]
 18    [MaxLength(20)]
 19    [Column("cedula")]
 3120    public string Cedula { get; set; } = string.Empty;
 21
 22    [Required]
 23    [MaxLength(150)]
 24    [Column("nombre_completo")]
 2725    public string NombreCompleto { get; set; } = string.Empty;
 26
 27    [Required]
 28    [Column("fecha_baja", TypeName = "date")]
 1329    public DateTime FechaBaja { get; set; }
 30
 31    [MaxLength(20)]
 32    [Column("motivo_baja_codigo")]
 333    public string? MotivoBajaCodigo { get; set; }
 34
 35    [Required]
 36    [Column("anio")]
 2237    public short Anio { get; set; }
 38
 39    [Required]
 40    [Column("mes")]
 2241    public short Mes { get; set; }
 42
 43    [Required]
 44    [Column("semestre")]
 1245    public short Semestre { get; set; }
 46
 47    [Required]
 48    [Column("total_haberes_gravados", TypeName = "numeric(14,2)")]
 1049    public decimal TotalHaberesGravados { get; set; }
 50
 51    [Required]
 52    [Column("meses_computados")]
 953    public short MesesComputados { get; set; }
 54
 55    [Column("mes_inicio_periodo")]
 156    public short? MesInicioPeriodo { get; set; }
 57
 58    [Column("mes_fin_periodo")]
 159    public short? MesFinPeriodo { get; set; }
 60
 61    [Column("mes_liquidacion")]
 162    public short? MesLiquidacion { get; set; }
 63
 64    [Required]
 65    [Column("nominal", TypeName = "numeric(14,2)")]
 1766    public decimal Nominal { get; set; }
 67
 68    [Required]
 69    [Column("montepio", TypeName = "numeric(14,2)")]
 1370    public decimal Montepio { get; set; }
 71
 72    [Required]
 73    [Column("sanidad", TypeName = "numeric(14,2)")]
 1374    public decimal Sanidad { get; set; }
 75
 76    [Required]
 77    [Column("total_descuentos", TypeName = "numeric(14,2)")]
 1378    public decimal TotalDescuentos { get; set; }
 79
 80    [Required]
 81    [Column("liquido", TypeName = "numeric(14,2)")]
 1382    public decimal Liquido { get; set; }
 83
 84    [Column("redondeo", TypeName = "numeric(14,2)")]
 785    public decimal Redondeo { get; set; }
 86
 87    [Required]
 88    [MaxLength(20)]
 89    [Column("estado")]
 2290    public string Estado { get; set; } = string.Empty;
 91
 2292    public virtual ICollection<AguinaldoBajaItem> Items { get; set; } = new List<AguinaldoBajaItem>();
 93}