Version OScar

This commit is contained in:
Jorge Luis caudillo esparza
2026-04-24 07:54:31 -07:00
parent 8e3df951b3
commit 83acc6b4f1
3780 changed files with 7042960 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Request
{
public class RequestCompra
{
public long CveCompra { get; set; }
public string Serie { get; set; }
public string Folio { get; set; }
public long CveProveedor { get; set; }
public long IdPoliza { get; set; }
public long CveEmpresa { get; set; }
public string ProveedorRFC { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Request
{
public class RequestCxP
{
public string FechaI { get; set; }
public string FechaF { get; set; }
public long CveProveedor { get; set; }
public long CveClasificacion { get; set; }
public long CveMoneda { get; set; }
public long CveUsuario { get; set; }
public long CveUsuarioResponsable { get; set; }
public long CveEstatus { get; set; }
public long CveEmpresa { get; set; }
public long GPO { get; set; }
public long CveSubProyecto { get; set; }
public long TipoCambio { get; set; }
public decimal TCEspecifico { get; set; }
public string FechaVI { get; set; }
public string FechaVF { get; set; }
public DateTime FechaCorte { get; set; }
public long CveUsuarioConsulta { get; set; }
public long CveTipoProveedor { get; set; }
public long Comprobaciones { get; set; }
public string TipoDocto { get; set; }
}
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Request
{
public class RequestCxPDetalle
{
public string FechaI { get; set; }
public string FechaF { get; set; }
public long CveProveedor { get; set; }
public long CveProveedorClasificacion { get; set; }
public string CveProveedorSucursal { get; set; }
public long Anio { get; set; }
public long Mes { get; set; }
public string AnioMes { get; set; }
public string Fecha { get; set; }
public long CveUsuario { get; set; }
public long CveUsuarioResponsable { get; set; }
public long GPO { get; set; }
public long CveMoneda { get; set; }
public long CveSubProyecto { get; set; }
public long CveEstatusFactura { get; set; }
public string Opcion { get; set; }
public long CveEmpresa { get; set; }
public long CveSucursal { get; set; }
public long TipoCambio { get; set; }
public decimal TCEspecifico { get; set; }
public string FechaVI { get; set; }
public string FechaVF { get; set; }
public DateTime FechaCorte { get; set; }
public long CveUsuarioConsulta { get; set; }
public long CveTipoProveedor { get; set; }
public long Comprobaciones { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Request
{
public class RequestRepCompras
{
public string FechaI { get; set; }
public string FechaF { get; set; }
public long CveProveedor { get; set; }
public long CveUsuario { get; set; }
public long CveUsuarioCaptura { get; set; }
public string FechaICaptura { get; set; }
public string FechaFCaptura { get; set; }
public long CveMoneda { get; set; }
public long TipoCambio { get; set; }
public decimal TCEspecifico { get; set; }
public long CveEmpresa { get; set; }
public long GPO { get; set; }
public string TipoGasto { get; set; }
public string CveSubProyecto { get; set; }
public long CveProyecto { get; set; }
public long CveUsuarioConsulta { get; set; }
public long CveTipoProveedor { get; set; }
public string TipoDocto { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Request
{
public class RequestRepComprasDetalle
{
public long GPO { get; set; }
public long Anio { get; set; }
public long Mes { get; set; }
public string AnioMes { get; set; }
public string Fecha { get; set; }
public long CveProveedor { get; set; }
public long CveMoneda { get; set; }
public long CveUsuario { get; set; }
public long CveUsuarioCaptura { get; set; }
public long NumeroRemesa { get; set; }
public long CveUsuarioRemesa { get; set; }
public string FechaICaptura { get; set; }
public string FechaFCaptura { get; set; }
public string FechaCaptura { get; set; }
public string FechaI { get; set; }
public string FechaF { get; set; }
public string CveSubProyecto { get; set; }
public string TipoDocto { get; set; }
public long TipoCambio { get; set; }
public decimal TCEspecifico { get; set; }
public long CveEmpresa { get; set; }
public string TipoGasto { get; set; }
public long CveUsuarioConsulta { get; set; }
public long CveProyecto { get; set; }
public long CveTipoProveedor { get; set; }
}
}

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Request
{
public class RequestRepPagado
{
public DateTime FechaI { get; set; }
public DateTime FechaF { get; set; }
public long CveProveedor { get; set; }
public long CveProyecto { get; set; }
public long CveSubProyecto { get; set; }
public long CveUsuario { get; set; }
public long CveEmpresa { get; set; }
public long GPO { get; set; }
public long CveResponsable { get; set; }
public long CveUsuarioConsulta { get; set; }
public long CveBanco { get; set; }
public long CveCuenta { get; set; }
public long CveMoneda { get; set; }
public DateTime FechaICompra { get; set; }
public DateTime FechaFCompra { get; set; }
public long CveTipoProveedor { get; set; }
public long ConComprobacion { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Request
{
public class RequestRepPagadoDetalle
{
public DateTime FechaI { get; set; }
public DateTime FechaF { get; set; }
public long CveProveedor { get; set; }
public long CveProyecto { get; set; }
public long CveSubProyecto { get; set; }
public long CveUsuario { get; set; }
public long CveEmpresa { get; set; }
public long GPO { get; set; }
public long CveResponsable { get; set; }
public long CveUsuarioConsulta { get; set; }
public long CveBanco { get; set; }
public long CveCuenta { get; set; }
public long CveMoneda { get; set; }
public bool UsarMesSeleccionado { get; set; }
public string Mes { get; set; }
public DateTime FechaICompra { get; set; }
public DateTime FechaFCompra { get; set; }
public long CveTipoProveedor { get; set; }
public long Tipo { get; set; }
public long ConComprobacion { get; set; }
}
}

View File

@@ -0,0 +1,112 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Response
{
public class ResponseCompra
{
public Compra Compra { get; set; }
public List<CompraDetalle> CompraDetalle { get; set; }
}
public class Compra
{
public long CveEmpresa { get; set; }
public long CveCompra { get; set; }
public long CveFactura { get; set; }
public long CveOrdenCompra { get; set; }
public string TipoDocto { get; set; }
public string Descripcion { get; set; }
public string Serie { get; set; }
public string Folio { get; set; }
public string SerieFolio { get; set; }
public string FolioSecundario { get; set; }
public long CveProveedor { get; set; }
public decimal SubTotal { get; set; }
public string RazonSocial { get; set; }
public string Codigo { get; set; }
public string Telefono { get; set; }
public string ContactoNombre { get; set; }
public decimal IVA { get; set; }
public decimal Descuentos { get; set; }
public decimal Amortizacion { get; set; }
public decimal RetIVA { get; set; }
public decimal RetISR { get; set; }
public decimal IEPS { get; set; }
public decimal OtrosImpuestos { get; set; }
public decimal TipoCambio { get; set; }
public decimal TipoCambioOriginal { get; set; }
public decimal Total { get; set; }
public DateTime Fecha { get; set; }
public DateTime FechaIng { get; set; }
public long CveMoneda { get; set; }
public string Moneda { get; set; }
public string Abreviatura { get; set; }
public long IdPoliza { get; set; }
public long CveUsuario { get; set; }
public string Usuario { get; set; }
public decimal Saldo { get; set; }
public string RFC { get; set; }
public string Direccion { get; set; }
public string UUID { get; set; }
public string PDF { get; set; }
public string XML { get; set; }
public string TipoFactura { get; set; }
public long CveEstatusFactura { get; set; }
public string EstatusFactura { get; set; }
public byte[] BytesPdfFactura { get; set; }
}
public class CompraDetalle
{
public long Consec { get; set; }
public long CveCompraDetalle { get; set; }
public long CveCompra { get; set; }
public long CvePS { get; set; }
public long CveUM { get; set; }
public long CveTipoPS { get; set; }
public long CveSubProyecto { get; set; }
public long CveOrdenCompraDetalle { get; set; }
public long FolioOC { get; set; }
public long CveOrdenCompra { get; set; }
public decimal Descuento { get; set; }
public decimal OtrosGastos { get; set; }
public string Observaciones { get; set; }
public long CveClasificacion { get; set; }
public string Clasificacion { get; set; }
public long CveProyecto { get; set; }
public string PS { get; set; }
public string UM { get; set; }
public string Obs { get; set; }
public string Proyecto { get; set; }
public string SubProyecto { get; set; }
public string EstadoPS { get; set; }
public long TipoAF { get; set; }
public long CveActivoFijo { get; set; }
public string CodAF { get; set; }
public string Referencia { get; set; }
public long CveConcepto { get; set; }
public long CvePersonal { get; set; }
public string NombreCompleto { get; set; }
public long CveTipoGasto { get; set; }
public string TipoGasto { get; set; }
public long AFMedida { get; set; }
public long AFTipoMantenimiento { get; set; }
public decimal Cantidad { get; set; }
public decimal PU { get; set; }
public decimal Total { get; set; }
public decimal IVA { get; set; }
public decimal RetIVA { get; set; }
public decimal RetISR { get; set; }
public decimal IEPSPS { get; set; }
public decimal IEPSPSIVA { get; set; }
public decimal IVAPorcentaje { get; set; }
public decimal RetIVAPorcentaje { get; set; }
public decimal RetISRPorcentaje { get; set; }
public decimal IEPSPSPorcentaje { get; set; }
public decimal IEPSPSIVAPorcentaje { get; set; }
public decimal Importe { get; set; }
}
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Response
{
public class ResponseCxP
{
public long CveMoneda { get; set; }
public string Moneda { get; set; }
public long GPO_IVA { get; set; }
public string GPO { get; set; }
public long CveGpo { get; set; }
public decimal Saldo { get; set; }
public decimal Total { get; set; }
public string Anio { get; set; }
public string Mes { get; set; }
public string AnioMes { get; set; }
public string Fecha { get; set; }
public long CveProveedor { get; set; }
public long CveUsuario { get; set; }
public long CveUsuarioResponsable { get; set; }
public long CveProveedorClasificacion { get; set; }
public long Cantidad { get; set; }
public string Orden { get; set; }
public string Serie { get; set; }
public long CveEstatusFactura { get; set; }
public long CveSubProyecto { get; set; }
public long CveProveedorSucursal { get; set; }
public long Comprobaciones { get; set; }
public decimal por_vencer { get; set; }
public decimal Vencido { get; set; }
}
}

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Response
{
public class ResponseCxPDetalle
{
public long CveCompra { get; set; }
public string SerieFolio { get; set; }
public long CveProveedor { get; set; }
public long TipoCambio { get; set; }
public long CveMoneda { get; set; }
public string Moneda { get; set; }
public long CveUsuario { get; set; }
public long CveEstatusFactura { get; set; }
public DateTime Fecha { get; set; }
public long CveEmpresa { get; set; }
public long CveClasificacion { get; set; }
public long CveSubProyecto { get; set; }
public string RazonSocial { get; set; }
public long IdCtaContProveedores { get; set; }
public decimal Saldo { get; set; }
public DateTime FechaVencimiento { get; set; }
public long DiasVencidos { get; set; }
public decimal IVA { get; set; }
public decimal IEPS { get; set; }
public decimal Descuentos { get; set; }
public decimal SubTotal { get; set; }
public decimal Total { get; set; }
public string Observaciones { get; set; }
public string Agrupador { get; set; }
public long EstatusInventario { get; set; }
public decimal ImporteAlmacen { get; set; }
public decimal ImporteDevolucion { get; set; }
public decimal ImporteAlmacenPorcentaje { get; set; }
public decimal ImporteDevolucionPorcentaje { get; set; }
public decimal ImporteServicios { get; set; }
public decimal ImporteServiciosPorcentaje { get; set; }
}
}

View File

@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Response
{
public class ResponseRepCompras
{
public string GPO { get; set; }
public string Anio { get; set; }
public string Mes { get; set; }
public string AnioMes { get; set; }
public string Fecha { get; set; }
public long CveProveedor { get; set; }
public string TipoDocto { get; set; }
public long CveUsuario { get; set; }
public string FechaCaptura { get; set; }
public long NumeroRemesa { get; set; }
public long CveUsuarioRemesa { get; set; }
public string CveSubProyecto { get; set; }
public long CveProyecto { get; set; }
public long CveTipoProveedor { get; set; }
public string CveTipoGasto { get; set; }
public string FechaICaptura { get; set; }
public string FechaFCaptura { get; set; }
public long CveUsuarioCaptura { get; set; }
public long OpcionTipoCambio { get; set; }
public long CveMoneda { get; set; }
public string Moneda { get; set; }
public long Cantidad { get; set; }
public decimal SubTotal { get; set; }
public decimal Descuento { get; set; }
public decimal Amortizacion { get; set; }
public decimal IVA { get; set; }
public decimal IEPS { get; set; }
public decimal RetIVA { get; set; }
public decimal RetISR { get; set; }
public decimal Total { get; set; }
public decimal MAX_SubTotal { get; set; }
public decimal AVG_SubTotal { get; set; }
public decimal MIN_SubTotal { get; set; }
public decimal MAX_Total { get; set; }
public decimal AVG_Total { get; set; }
public decimal MIN_Total { get; set; }
public string Orden { get; set; }
}
}

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Response
{
public class ResponseRepComprasDetalle
{
public string GPO { get; set; }
public long Cantidad { get; set; }
public long CveCompra { get; set; }
public string TipoDocto { get; set; }
public long FolioInv { get; set; }
public DateTime FechaInv { get; set; }
public string AplicaNC { get; set; }
public string Fecha { get; set; }
public long CveProveedor { get; set; }
public string Moneda { get; set; }
public string Abreviatura { get; set; }
public string Usuario { get; set; }
public string SerieFolio { get; set; }
public string Descripcion { get; set; }
public DateTime FechaVencimiento { get; set; }
public decimal SubTotal { get; set; }
public decimal Descuento { get; set; }
public decimal Amortizacion { get; set; }
public decimal IVA { get; set; }
public decimal IEPS { get; set; }
public decimal RetIVA { get; set; }
public decimal RetISR { get; set; }
public decimal Total { get; set; }
public string RazonSocial { get; set; }
public long CveUsuarioRemesa { get; set; }
public string SubProyecto { get; set; }
public string CveSubProyecto { get; set; }
public long CveProyecto { get; set; }
public string TipoProveedor { get; set; }
public string TipoGasto { get; set; }
}
}

View File

@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Response
{
public class ResponseRepPagado
{
public long CveMoneda { get; set; }
public string Moneda { get; set; }
public long CveBanco { get; set; }
public long CveCuenta { get; set; }
public DateTime FechaI { get; set; }
public DateTime FechaF { get; set; }
public long CveUsuarioResponsable { get; set; }
public long Grupo { get; set; }
public DateTime FechaICompra { get; set; }
public DateTime FechaFCompra { get; set; }
public long CveTipoProveedor { get; set; }
public long CveComprobacion { get; set; }
public string GPO { get; set; }
public decimal Pagado { get; set; }
public decimal Comprado { get; set; }
public string AnioCompra { get; set; }
public string MesCompra { get; set; }
public string AnioMesCompra { get; set; }
public string FechaCompra { get; set; }
public long CveProveedor { get; set; }
public long CveProyecto { get; set; }
public long CveSubProyecto { get; set; }
public long CveUsuario { get; set; }
public string AnioIE { get; set; }
public string MesIE { get; set; }
public string AnioMesIE { get; set; }
public string FechaIE { get; set; }
public long Cantidad { get; set; }
public string Orden { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Compras.Response
{
public class ResponseRepPagadoDetalle
{
public long CveMoneda { get; set; }
public string Moneda { get; set; }
public string RazonSocial { get; set; }
public DateTime FechaDocumento { get; set; }
public decimal Importe { get; set; }
public string FolioIE { get; set; }
public long CveCompra { get; set; }
public long CveIE { get; set; }
public string SerieFolio { get; set; }
public string ProyectoSubProyecto { get; set; }
public long CveProveedor { get; set; }
public decimal IVA { get; set; }
public string Banco { get; set; }
public string NumCuenta { get; set; }
public long DiasVencimiento { get; set; }
public long DiasPagados { get; set; }
public string GPO { get; set; }
public string Tipo { get; set; }
}
}