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,106 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Contabilidad.Request
{
public class RequestAddPrePolizasDetalle
{
#region "Propiedades"
public int CvePrePoliza { get; set; }
public bool TipoMovimiento { get; set; }
public decimal Importe { get; set; }
public string Referencia { get; set; }
public int CveConceptoContable { get; set; }
public string Concepto { get; set; }
public DateTime FechaVencimiento { get; set; }
public int IdCtaContable { get; set; }
public int IdSegmentoNegocio { get; set; }
public int CveIE { get; set; }
public int CveVenta { get; set; }
public int CveCompra { get; set; }
public int CveSubProyecto { get; set; }
public int CveCliente { get; set; }
public int CveProveedor { get; set; }
public int CvePersonal { get; set; }
public int CveMovimientoAlmacen { get; set; }
public int CveActivoFijo { get; set; }
public int CveAcreedor { get; set; }
public int CveColectiva { get; set; }
public int CveCreditoDetalle { get; set; }
public int CveOC { get; set; }
public int CveClasificacion { get; set; }
public int CveVentaAmortizacion { get; set; }
public int CveCompraAmortizacion { get; set; }
public decimal ImporteMX { get; set; }
public decimal ImporteME { get; set; }
public int CvePrePolizaOriginal { get; set; }
public int CveIEDevolucion { get; set; }
public int CveCredito { get; set; }
public int CveCuenta { get; set; }
public int CveTipoGasto { get; set; }
public bool Contabilizable { get; set; }
public decimal TipoCambio { get; set; }
public int CveOCDetalle { get; set; }
public decimal TipoCambioPago { get; set; }
public decimal PorcentajeImpuesto { get; set; }
#endregion
public RequestAddPrePolizasDetalle()
{
CveIE = -1; CveVenta = -1; CveCompra = -1; CveSubProyecto = -1; CveCliente = -1; CveProveedor = -1;
CvePersonal = -1; CveMovimientoAlmacen = -1; CveActivoFijo = -1; CveAcreedor = -1; CveColectiva = -1; CveCreditoDetalle = -1; CveOC = -1;
CveClasificacion = -1; CveVentaAmortizacion = -1; CveCompraAmortizacion = -1; ImporteMX = 0m; ImporteME = 0m; CvePrePolizaOriginal = -1;
CveIEDevolucion = -1; CveCredito = -1; CveCuenta = -1; CveTipoGasto = -1; Contabilizable = true; TipoCambio = 1m; CveOCDetalle = -1;
TipoCambioPago = 1m; PorcentajeImpuesto = 0m;
}
public RequestAddPrePolizasDetalle(int CvePrePoliza, bool TipoMovimiento, decimal Importe, string Referencia, int CveConceptoContable, string Concepto, DateTime FechaVencimiento,
int IdCtaContable, int IdSegmentoNegocio, int CveIE = -1, int CveVenta = -1, int CveCompra = -1, int CveSubProyecto = -1, int CveCliente = -1, int CveProveedor = -1,
int CvePersonal = -1, int CveMovimientoAlmacen = -1, int CveActivoFijo = -1, int CveAcreedor = -1, int CveColectiva = -1, int CveCreditoDetalle = -1, int CveOC = -1,
int CveClasificacion = -1, int CveVentaAmortizacion = -1, int CveCompraAmortizacion = -1, decimal ImporteMX = 0m, decimal ImporteME = 0m, int CvePrePolizaOriginal = -1,
int CveIEDevolucion = -1, int CveCredito = -1, int CveCuenta = -1, int CveTipoGasto = -1, bool Contabilizable = true, decimal TipoCambio = 1m, int CveOCDetalle = -1,
decimal TipoCambioPago = 1m, decimal PorcentajeImpuesto = 0m)
{
this.CvePrePoliza = CvePrePoliza;
this.TipoMovimiento = TipoMovimiento;
this.Importe = Importe;
this.Referencia = Referencia;
this.CveConceptoContable = CveConceptoContable;
this.Concepto = Concepto;
this.FechaVencimiento = FechaVencimiento;
this.IdCtaContable = IdCtaContable;
this.IdSegmentoNegocio = IdSegmentoNegocio;
this.CveIE = CveIE;
this.CveVenta = CveVenta;
this.CveCompra = CveCompra;
this.CveSubProyecto = CveSubProyecto;
this.CveCliente = CveCliente;
this.CveProveedor = CveProveedor;
this.CvePersonal = CvePersonal;
this.CveMovimientoAlmacen = CveMovimientoAlmacen;
this.CveActivoFijo = CveActivoFijo;
this.CveAcreedor = CveAcreedor;
this.CveColectiva = CveColectiva;
this.CveCreditoDetalle = CveCreditoDetalle;
this.CveOC = CveOC;
this.CveClasificacion = CveClasificacion;
this.CveVentaAmortizacion = CveVentaAmortizacion;
this.CveCompraAmortizacion = CveCompraAmortizacion;
this.ImporteMX = ImporteMX;
this.ImporteME = ImporteME;
this.CvePrePolizaOriginal = CvePrePolizaOriginal;
this.CveIEDevolucion = CveIEDevolucion;
this.CveCredito = CveCredito;
this.CveCuenta = CveCuenta;
this.CveTipoGasto = CveTipoGasto;
this.Contabilizable = Contabilizable;
this.TipoCambio = TipoCambio;
this.CveOCDetalle = CveOCDetalle;
this.TipoCambioPago = TipoCambioPago;
this.PorcentajeImpuesto = PorcentajeImpuesto;
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Contabilidad.Request
{
public class RequestAddPrePolizasmodel
{
#region Propiedades
public string Modulo { get; set; }
public int CvePlantillaPoliza { get; set; }
public decimal Cargos { get; set; }
public decimal Abonos { get; set; }
public int CveMoneda { get; set; }
public DateTime Fecha { get; set; }
public string Concepto { get; set; }
public int CveUsuario { get; set; }
public int CveEmpresa { get; set; }
public int FolioFijo { get; set; }
public string ReglaFolioPoliza { get; set; }
public int CveTipoPoliza { get; set; }
#endregion
public RequestAddPrePolizasmodel()
{
FolioFijo = 0; ReglaFolioPoliza = ""; CveTipoPoliza = -1;
}
public RequestAddPrePolizasmodel(string Modulo, int CvePlantillaPoliza, decimal Cargos, decimal Abonos, int CveMoneda, DateTime Fecha, string Concepto, int CveUsuario, int CveEmpresa,
int FolioFijo = 0, string ReglaFolioPoliza = "", int CveTipoPoliza = -1)
{
this.Modulo = Modulo;
this.CvePlantillaPoliza = CvePlantillaPoliza;
this.Cargos = Cargos;
this.Abonos = Abonos;
this.CveMoneda = CveMoneda;
this.Fecha = Fecha;
this.Concepto = Concepto;
this.CveUsuario = CveUsuario;
this.CveEmpresa = CveEmpresa;
this.FolioFijo = FolioFijo;
this.ReglaFolioPoliza = ReglaFolioPoliza;
this.CveTipoPoliza = CveTipoPoliza;
}
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Contabilidad.Response
{
public class ResponseAddPrePolizasDetalle
{
public bool allisok { get; set; }
public int CvePrePolizaDetalle { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIGAPI.Models.Contabilidad.Response
{
public class ResponseAddPrePolizasmodel
{
public bool allisok { get; set; }
public int CvePrePoliza { get; set; }
}
}