Ya perdí el hilo de los cambios pero ahi van.

This commit is contained in:
2025-05-23 15:47:39 -03:00
parent e7e185a9cb
commit 3c1fe15b1f
141 changed files with 9764 additions and 190 deletions

View File

@@ -0,0 +1,16 @@
using System;
namespace GestionIntegral.Api.Models.Contables
{
public class NotaCreditoDebito // Corresponde a cue_CreditosDebitos
{
public int IdNota { get; set; } // Id_Nota (PK, Identity)
public string Destino { get; set; } = string.Empty; // "Distribuidores" o "Canillas"
public int IdDestino { get; set; } // Id del distribuidor o canillita
public string? Referencia { get; set; } // varchar(50), NULL
public string Tipo { get; set; } = string.Empty; // "Debito" o "Credito"
public DateTime Fecha { get; set; }
public decimal Monto { get; set; }
public string? Observaciones { get; set; } // varchar(250), NULL
public int IdEmpresa { get; set; } // Empresa a la que corresponde el saldo afectado
}
}

View File

@@ -0,0 +1,20 @@
using System;
namespace GestionIntegral.Api.Models.Contables
{
public class NotaCreditoDebitoHistorico // Corresponde a cue_CreditosDebitos_H
{
// No hay PK explícita en _H
public int Id_Nota { get; set; } // Coincide con columna en _H
public string Destino { get; set; } = string.Empty;
public int Id_Destino { get; set; }
public string? Referencia { get; set; }
public string Tipo { get; set; } = string.Empty;
public DateTime Fecha { get; set; }
public decimal Monto { get; set; }
public string? Observaciones { get; set; }
public int Id_Empresa { get; set; }
public int Id_Usuario { get; set; }
public DateTime FechaMod { get; set; }
public string TipoMod { get; set; } = string.Empty;
}
}

View File

@@ -0,0 +1,16 @@
using System;
namespace GestionIntegral.Api.Models.Contables
{
public class PagoDistribuidor // Corresponde a cue_PagosDistribuidor
{
public int IdPago { get; set; } // Id_Pago (PK, Identity)
public int IdDistribuidor { get; set; }
public DateTime Fecha { get; set; }
public string TipoMovimiento { get; set; } = string.Empty; // "Recibido" o "Realizado"
public int Recibo { get; set; } // Nro de recibo
public decimal Monto { get; set; }
public int IdTipoPago { get; set; } // FK a cue_dtTipopago
public string? Detalle { get; set; }
public int IdEmpresa { get; set; } // Empresa a la que corresponde el saldo afectado
}
}

View File

@@ -0,0 +1,20 @@
using System;
namespace GestionIntegral.Api.Models.Contables
{
public class PagoDistribuidorHistorico // Corresponde a cue_PagosDistribuidor_H
{
// No hay PK explícita en _H
public int Id_Pago { get; set; } // Coincide con columna en _H
public int Id_Distribuidor { get; set; }
public DateTime Fecha { get; set; }
public string TipoMovimiento { get; set; } = string.Empty;
public int Recibo { get; set; }
public decimal Monto { get; set; }
public int Id_TipoPago { get; set; }
public string? Detalle { get; set; }
public int Id_Empresa { get; set; }
public int Id_Usuario { get; set; }
public DateTime FechaMod { get; set; }
public string TipoMod { get; set; } = string.Empty;
}
}