namespace ZR.Model.MES.wms.Dto { /// /// 批量查询 /// public class WmGoodsBatchSearchDto : PagerInfo { /// /// 查询类别:1-入库 2-出库 /// public int Category { get; set; } = 1; /// /// 查询类别:1-树父节点 2-树子节点 /// public int Type { get; set; } = 1; /// /// 聚合模型类别:1-根据批次号 2-根据零件号 /// public int Model { get; set; } = 1; /// /// 零件号 /// public string Partnumber { get; set; } = string.Empty; /// /// 批次号 /// public string PackageCode { get; set; } = string.Empty; /// /// 出库单号 /// public string ShipmentNum { get; set; } = string.Empty; } /// /// 列表字段 /// public class WmGoodsBatchTableDto : PagerInfo { /// /// ID /// public string Id { get; set; } = string.Empty; /// /// 出库单号 /// public string ShipmentNum { get; set; } = string.Empty; /// /// 树子节点主键(需要第二层为空) /// public string PackageCodeClient_son { get; set; } = null; /// /// 树父节点主键(需要第一层为空) /// public string PackageCodeClient_short_parent { get; set; } = null; /// /// 零件号 /// public string Partnumber { get; set; } = string.Empty; /// /// 描述 /// public string Description { get; set; } = string.Empty; /// /// 显示批次号 /// public string PackageCode { get; set; } = string.Empty; /// /// 库位号 /// public string LocationCode { get; set; } = string.Empty; /// /// 箱数 /// public int PackageNum { get; set; } = 0; /// /// 理论库存 /// public int GoodsNumLogic { get; set; } = 0; /// /// 实际库存 /// public int GoodsNumAction { get; set; } = 0; /// /// 入库时间 /// public DateTime? EntryWarehouseTime { get; set; } = null; /// /// 出库时间 /// public DateTime? OutTime { get; set; } = null; /// /// 备注 /// public string Remark { get; set; } = null; /// /// 是否拥有树子节点 /// public bool HasChild { get; set; } = false; } }