Files
WMSlite/WmsLite.Api/Dtos/Inventory/InventoryAllocationDtos.cs
2026-06-01 23:30:36 +08:00

32 lines
749 B
C#

using WmsLite.Api.Enums;
namespace WmsLite.Api.Dtos.Inventory;
public class InventoryAllocationRequest
{
public string TenantId { get; set; } = string.Empty;
public string OwnerCode { get; set; } = string.Empty;
public InventoryKind InventoryKind { get; set; } = InventoryKind.Material;
public string? MaterialCode { get; set; }
public string? ContainerCode { get; set; }
public string WarehouseCode { get; set; } = string.Empty;
public string AreaCode { get; set; } = string.Empty;
public string? LocationCode { get; set; }
public decimal Qty { get; set; }
}
public class InventoryAllocationItem
{
public required Models.Inventory Inventory { get; init; }
public decimal Qty { get; init; }
}