Ya perdí el hilo de los cambios pero ahi van.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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ó
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user