< Summary

Information
Class: FAU.Logica.DTOs.UpdateConfigCompensacionRequest
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/ConfigCompensacionDto.cs
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 64
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_ValorPorUnidad()100%11100%
get_Monto()100%11100%
get_Tope()100%11100%
get_TopeUnidades()100%11100%
get_ValorMinimo()100%11100%
get_ValorMaximo()100%11100%
get_VigenteHasta()100%11100%
get_Activo()100%11100%
get_SujetoDescLegales()100%11100%
get_CatalogoItemId()100%11100%

File(s)

/home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/ConfigCompensacionDto.cs

#LineLine coverage
 1namespace FAU.Logica.DTOs;
 2
 3public class ConfigCompensacionDto
 4{
 5    public long Id { get; set; }
 6    public long TipoCompensacionId { get; set; }
 7    public string NombreTipo { get; set; } = string.Empty;
 8    public long? RegimenId { get; set; }
 9    public string? NombreRegimen { get; set; }
 10    public long? GradoId { get; set; }
 11    public string? NombreGrado { get; set; }
 12    public long? EscalafonId { get; set; }
 13    public string? NombreEscalafon { get; set; }
 14    public string? Funcion { get; set; }
 15    public string UnidadMedida { get; set; } = string.Empty;
 16    public string Formula { get; set; } = string.Empty;
 17    public decimal? ValorPorUnidad { get; set; }
 18    public decimal? Monto { get; set; }
 19    public decimal? Tope { get; set; }
 20    public short? TopeUnidades { get; set; }
 21    public decimal? ValorMinimo { get; set; }
 22    public decimal? ValorMaximo { get; set; }
 23    public DateTime VigenteDesde { get; set; }
 24    public DateTime? VigenteHasta { get; set; }
 25    public bool Activo { get; set; }
 26    public bool SujetoDescLegales { get; set; }
 27    public long? CatalogoItemId { get; set; }
 28    public string? NombreCatalogoItem { get; set; }
 29}
 30
 31public class CreateConfigCompensacionRequest
 32{
 33    public long TipoCompensacionId { get; set; }
 34    public long? RegimenId { get; set; }
 35    public long? GradoId { get; set; }
 36    public long? EscalafonId { get; set; }
 37    public string? Funcion { get; set; }
 38    public string UnidadMedida { get; set; } = "monto";
 39    public string Formula { get; set; } = "fijo";
 40    public decimal? ValorPorUnidad { get; set; }
 41    public decimal? Monto { get; set; }
 42    public decimal? Tope { get; set; }
 43    public short? TopeUnidades { get; set; }
 44    public decimal? ValorMinimo { get; set; }
 45    public decimal? ValorMaximo { get; set; }
 46    public DateTime VigenteDesde { get; set; }
 47    public DateTime? VigenteHasta { get; set; }
 48    public bool SujetoDescLegales { get; set; } = false;
 49    public long? CatalogoItemId { get; set; }
 50}
 51
 52public class UpdateConfigCompensacionRequest
 53{
 654    public decimal? ValorPorUnidad { get; set; }
 1155    public decimal? Monto { get; set; }
 356    public decimal? Tope { get; set; }
 657    public short? TopeUnidades { get; set; }
 658    public decimal? ValorMinimo { get; set; }
 659    public decimal? ValorMaximo { get; set; }
 360    public DateTime? VigenteHasta { get; set; }
 961    public bool? Activo { get; set; }
 562    public bool? SujetoDescLegales { get; set; }
 563    public long? CatalogoItemId { get; set; }
 64}