namespace Tnb.WarehouseMgr.Entities.Dto.Inputs { /// /// MES入库输入 /// public class MESCreateInstockInput { /// /// 生产入库主表 /// public MESWmsInstockHInput instock { get; set; } /// /// 生产入库明细表 /// public List instockds { get; set; } /// /// 入库申请条码明细表 /// public List instockcodes { get; set; } } public class MESWmsInstockHInput { /// /// 所属组织ID /// public string org_id { get; set; } = string.Empty; /// /// 入库单创建日期 /// public DateTime bill_date { get; set; } = DateTime.Now; /// /// 单据类型: /// public string bill_type { get; set; } = string.Empty; /// /// 入库仓库ID /// public string warehouse_id { get; set; } = string.Empty; /// /// 来源单据ID /// public string source_id { get; set; } /// /// 来源单据代码 /// public string source_code { get; set; } /// /// 创建用户 /// public string create_id { get; set; } = string.Empty; /// /// 载具编号 /// public string carry_code { get; set; } /// /// 库位编号 /// public string location_code { get; set; } /// /// 未检验:0,已检验:1 /// public int is_check { get; set; } } public class MESWmsInstockDInput { /// /// 物品ID /// public string material_id { get; set; } = string.Empty; /// /// 物品代码 /// public string material_code { get; set; } = string.Empty; /// /// 单位ID /// public string unit_id { get; set; } = string.Empty; /// /// 入库需求数量 /// public decimal pr_qty { get; set; } /// /// 批次 /// public string code_batch { get; set; } } public class MESWmsInstockCodeInput { /// /// 物品ID /// public string material_id { get; set; } = string.Empty; /// /// 物品代码 /// public string material_code { get; set; } = string.Empty; /// /// 单位ID /// public string unit_id { get; set; } = string.Empty; /// /// 条码编号 /// public string barcode { get; set; } /// /// 条码编号 /// public int codeqty { get; set; } /// /// 批次 /// public string code_batch { get; set; } } }