Finalización de Endpoints para la gestión de Reportes. Se continúa con el Frontend.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GestionIntegral.Api.Dtos.Reportes
|
||||
{
|
||||
public class ControlDevolucionesDataResponseDto
|
||||
{
|
||||
public IEnumerable<ControlDevolucionesReporteDto> DetallesCtrlDevoluciones { get; set; } = new List<ControlDevolucionesReporteDto>();
|
||||
public IEnumerable<DevueltosOtrosDiasDto> DevolucionesOtrosDias { get; set; } = new List<DevueltosOtrosDiasDto>();
|
||||
public IEnumerable<ObtenerCtrlDevolucionesDto> RemitosIngresados { get; set; } = new List<ObtenerCtrlDevolucionesDto>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace GestionIntegral.Api.Dtos.Reportes
|
||||
{
|
||||
public class DevueltosOtrosDiasDto
|
||||
{
|
||||
public int Devueltos { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GestionIntegral.Api.Dtos.Reportes
|
||||
{
|
||||
public class ListadoDistribucionCanillasResponseDto
|
||||
{
|
||||
public IEnumerable<ListadoDistribucionCanillasSimpleDto> DetalleSimple { get; set; } = new List<ListadoDistribucionCanillasSimpleDto>();
|
||||
public IEnumerable<ListadoDistribucionCanillasPromedioDiaDto> PromediosPorDia { get; set; } = new List<ListadoDistribucionCanillasPromedioDiaDto>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GestionIntegral.Api.Dtos.Reportes
|
||||
{
|
||||
public class ListadoDistribucionGeneralResponseDto
|
||||
{
|
||||
public IEnumerable<ListadoDistribucionGeneralResumenDto> Resumen { get; set; } = new List<ListadoDistribucionGeneralResumenDto>();
|
||||
public IEnumerable<ListadoDistribucionGeneralPromedioDiaDto> PromediosPorDia { get; set; } = new List<ListadoDistribucionGeneralPromedioDiaDto>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GestionIntegral.Api.Dtos.Reportes
|
||||
{
|
||||
public class MovimientoBobinasPorEstadoResponseDto
|
||||
{
|
||||
public IEnumerable<MovimientoBobinaEstadoDetalleDto> Detalle { get; set; } = new List<MovimientoBobinaEstadoDetalleDto>();
|
||||
public IEnumerable<MovimientoBobinaEstadoTotalDto> Totales { get; set; } = new List<MovimientoBobinaEstadoTotalDto>();
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,6 @@ namespace GestionIntegral.Api.Dtos.Reportes
|
||||
{
|
||||
public class ObtenerCtrlDevolucionesDto
|
||||
{
|
||||
public int Remito { get; set; } // El SP devuelve una columna 'Remito' que en la tabla es 'Entrada'
|
||||
public int Remito { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GestionIntegral.Api.Dtos.Reportes
|
||||
{
|
||||
public class ReporteCuentasDistribuidorResponseDto
|
||||
{
|
||||
public IEnumerable<BalanceCuentaDistDto> EntradasSalidas { get; set; } = new List<BalanceCuentaDistDto>();
|
||||
public IEnumerable<BalanceCuentaDebCredDto> DebitosCreditos { get; set; } = new List<BalanceCuentaDebCredDto>();
|
||||
public IEnumerable<BalanceCuentaPagosDto> Pagos { get; set; } = new List<BalanceCuentaPagosDto>();
|
||||
public IEnumerable<SaldoDto> Saldos { get; set; } = new List<SaldoDto>(); // O podría ser SaldoDto SaldoActual si siempre es uno
|
||||
public string? NombreDistribuidor { get; set; } // Para el título del reporte
|
||||
public string? NombreEmpresa { get; set; } // Para el título del reporte
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace GestionIntegral.Api.Dtos.Reportes
|
||||
{
|
||||
public class ReporteDistribucionCanillasResponseDto
|
||||
{
|
||||
public IEnumerable<DetalleDistribucionCanillaDto> Canillas { get; set; } = new List<DetalleDistribucionCanillaDto>();
|
||||
public IEnumerable<DetalleDistribucionCanillaDto> CanillasAccionistas { get; set; } = new List<DetalleDistribucionCanillaDto>();
|
||||
public IEnumerable<DetalleDistribucionCanillaAllDto> CanillasTodos { get; set; } = new List<DetalleDistribucionCanillaAllDto>();
|
||||
public IEnumerable<DetalleDistribucionCanillaDto> CanillasLiquidadasOtraFecha { get; set; } = new List<DetalleDistribucionCanillaDto>();
|
||||
public IEnumerable<DetalleDistribucionCanillaDto> CanillasAccionistasLiquidadasOtraFecha { get; set; } = new List<DetalleDistribucionCanillaDto>();
|
||||
public IEnumerable<ObtenerCtrlDevolucionesDto> ControlDevolucionesRemitos { get; set; } = new List<ObtenerCtrlDevolucionesDto>();
|
||||
public IEnumerable<ControlDevolucionesReporteDto> ControlDevolucionesDetalle { get; set; } = new List<ControlDevolucionesReporteDto>();
|
||||
public IEnumerable<DevueltosOtrosDiasDto> ControlDevolucionesOtrosDias { get; set; } = new List<DevueltosOtrosDiasDto>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user