| | | 1 | | namespace FAU.Logica.DTOs; |
| | | 2 | | |
| | | 3 | | public 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 IEnumerable<ItemLoteCompensacionDto> Items { get; set; } = new List<ItemLoteCompensacionDto>(); |
| | | 21 | | } |
| | | 22 | | |
| | | 23 | | public class CreateLoteCompensacionRequest |
| | | 24 | | { |
| | | 25 | | public long TipoCompensacionId { get; set; } |
| | | 26 | | public long PeriodoId { get; set; } |
| | | 27 | | public string? Fuente { get; set; } |
| | | 28 | | public string? NombreArchivo { get; set; } |
| | | 29 | | public string? HashArchivo { get; set; } |
| | | 30 | | } |
| | | 31 | | |
| | | 32 | | public class UpdateLoteCompensacionRequest |
| | | 33 | | { |
| | 7 | 34 | | public string? Fuente { get; set; } |
| | 2 | 35 | | public string? NombreArchivo { get; set; } |
| | | 36 | | /// Transiciones permitidas: recibido→validado, validado→observado, observado→validado |
| | 28 | 37 | | public string? Estado { get; set; } |
| | | 38 | | } |