< Summary

Information
Class: FAU.Logica.DTOs.UpdateLoteCompensacionRequest
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/LoteCompensacionDto.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 39
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_Fuente()100%11100%
get_NombreArchivo()100%11100%
get_Estado()100%11100%

File(s)

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

#LineLine coverage
 1namespace FAU.Logica.DTOs;
 2
 3public class LoteCompensacionDto
 4{
 5    public long Id { get; set; }
 6    public long TipoCompensacionId { get; set; }
 7    public string NombreTipo { get; set; } = string.Empty;
 8    public string UnidadMedida { get; set; } = string.Empty;
 9    public long PeriodoId { get; set; }
 10    public DateTime Periodo { get; set; }
 11    public string Estado { get; set; } = string.Empty;
 12    public string? Fuente { get; set; }
 13    public string? NombreArchivo { get; set; }
 14    public long UsuarioId { get; set; }
 15    public long? AprobadoPor { get; set; }
 16    public string? NombreAprobador { get; set; }
 17    public DateTime? AprobadoEn { get; set; }
 18    public DateTime CreadoEn { get; set; }
 19    public int ItemCount { get; set; }
 20    public decimal TotalMonto { get; set; }
 21    public IEnumerable<ItemLoteCompensacionDto> Items { get; set; } = new List<ItemLoteCompensacionDto>();
 22}
 23
 24public class CreateLoteCompensacionRequest
 25{
 26    public long TipoCompensacionId { get; set; }
 27    public long PeriodoId { get; set; }
 28    public string? Fuente { get; set; }
 29    public string? NombreArchivo { get; set; }
 30    public string? HashArchivo { get; set; }
 31}
 32
 33public class UpdateLoteCompensacionRequest
 34{
 735    public string? Fuente { get; set; }
 236    public string? NombreArchivo { get; set; }
 37    /// Transiciones permitidas: recibido→validado, validado→observado, observado→validado
 2838    public string? Estado { get; set; }
 39}