< Summary

Information
Class: FAU.Entidades.FranjaIrpf
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/FranjaIrpf.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 34
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_NumeroFranja()100%11100%
get_DesdeBpc()100%11100%
get_HastaBpc()100%11100%
get_Tasa()100%11100%
get_VigenteDesde()100%11100%
get_VigenteHasta()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace FAU.Entidades;
 5
 6[Table("franjas_irpf")]
 7public class FranjaIrpf
 8{
 9    [Key]
 10    [Column("id")]
 16811    public long Id { get; set; }
 12
 13    [Required]
 14    [Column("numero_franja")]
 26615    public short NumeroFranja { get; set; }
 16
 17    [Required]
 18    [Column("desde_bpc", TypeName = "numeric(8,2)")]
 19519    public decimal DesdeBpc { get; set; }
 20
 21    [Column("hasta_bpc", TypeName = "numeric(8,2)")]
 19522    public decimal? HastaBpc { get; set; }
 23
 24    [Required]
 25    [Column("tasa", TypeName = "numeric(5,4)")]
 19926    public decimal Tasa { get; set; }
 27
 28    [Required]
 29    [Column("vigente_desde", TypeName = "date")]
 11130    public DateTime VigenteDesde { get; set; }
 31
 32    [Column("vigente_hasta", TypeName = "date")]
 1233    public DateTime? VigenteHasta { get; set; }
 34}