20 lines
1.0 KiB
C#
20 lines
1.0 KiB
C#
|
|
namespace GestionIntegral.Api.Dtos.Distribucion
|
||
|
|
{
|
||
|
|
public class EntradaSalidaDistDto
|
||
|
|
{
|
||
|
|
public int IdParte { get; set; }
|
||
|
|
public int IdPublicacion { get; set; }
|
||
|
|
public string NombrePublicacion { get; set; } = string.Empty;
|
||
|
|
public string NombreEmpresaPublicacion { get; set; } = string.Empty; // Para identificar la empresa dueña del saldo
|
||
|
|
public int IdEmpresaPublicacion { get; set; } // Para afectar el saldo correcto
|
||
|
|
public int IdDistribuidor { get; set; }
|
||
|
|
public string NombreDistribuidor { get; set; } = string.Empty;
|
||
|
|
public string Fecha { get; set; } = string.Empty; // yyyy-MM-dd
|
||
|
|
public string TipoMovimiento { get; set; } = string.Empty; // "Salida" o "Entrada"
|
||
|
|
public int Cantidad { get; set; }
|
||
|
|
public int Remito { get; set; }
|
||
|
|
public string? Observacion { get; set; }
|
||
|
|
public decimal MontoCalculado { get; set; } // Calculado por el backend
|
||
|
|
// No exponemos Ids de Precio, Recargo, Porcentaje directamente, solo el resultado.
|
||
|
|
}
|
||
|
|
}
|