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,14 @@
using System;
namespace GestionIntegral.Api.Models.Distribucion
{
public class ControlDevoluciones // Corresponde a dist_dtCtrlDevoluciones
{
public int IdControl { get; set; } // Id_Control (PK, Identity)
public int IdEmpresa { get; set; }
public DateTime Fecha { get; set; }
public int Entrada { get; set; } // Cantidad total de ejemplares que ingresaron como devolución
public int Sobrantes { get; set; }
public string? Detalle { get; set; }
public int SinCargo { get; set; } // DEFAULT 0 NOT NULL
}
}

View File

@@ -0,0 +1,18 @@
using System;
namespace GestionIntegral.Api.Models.Distribucion
{
public class ControlDevolucionesHistorico // Corresponde a dist_dtCtrlDevoluciones_H
{
// No hay PK explícita en _H
public int Id_Control { get; set; } // Coincide con columna en _H
public int Id_Empresa { get; set; }
public DateTime Fecha { get; set; }
public int Entrada { get; set; }
public int Sobrantes { get; set; }
public string? Detalle { get; set; }
public int SinCargo { 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,20 @@
using System;
namespace GestionIntegral.Api.Models.Distribucion
{
public class EntradaSalidaCanilla // Corresponde a dist_EntradasSalidasCanillas
{
public int IdParte { get; set; }
public int IdPublicacion { get; set; }
public int IdCanilla { get; set; }
public DateTime Fecha { get; set; }
public int CantSalida { get; set; }
public int CantEntrada { get; set; }
public int IdPrecio { get; set; } // FK a dist_Precios
public int IdRecargo { get; set; } // FK a dist_RecargoZona (0 si no aplica)
public int IdPorcMon { get; set; } // FK a dist_PorcMonPagoCanilla (0 si no aplica)
public string? Observacion { get; set; }
public bool Liquidado { get; set; }
public DateTime? FechaLiquidado { get; set; }
public int? UserLiq { get; set; } // Usuario que liquidó
}
}