namespace ZR.Model.MES.wms { /// /// 出库计划 /// [SugarTable("wm_out_order_plan")] public class WmOutOrderPlan { /// /// id /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 出库单号 /// [SugarColumn(ColumnName = "fk_out_order_id")] public string FkOutOrderId { get; set; } /// /// 批次号(工单号+箱号) /// [SugarColumn(ColumnName = "patchcode")] public string Patchcode { get; set; } /// /// 短批次号 /// [SugarColumn(IsIgnore = true)] public string Patchcode_short { get; set; } /// /// 物料号 /// [SugarColumn(ColumnName = "material_code")] public string MaterialCode { get; set; } /// /// 所属仓库 /// [SugarColumn(ColumnName = "warehouse_code")] public string WarehouseCode { get; set; } /// /// 批次箱数 /// [SugarColumn(ColumnName = "package_num")] public int? PackageNum { get; set; } /// /// 批次零件数 /// [SugarColumn(ColumnName = "partnumber_num")] public int? PartnumberNum { get; set; } /// /// 需求零件数 /// [SugarColumn(ColumnName = "require_num")] public int? RequireNum { get; set; } /// /// 已经入库箱子数量 /// [SugarColumn(ColumnName = "received_pack_num")] public int? ReceivedPackNum { get; set; } /// /// 批次时间 /// [SugarColumn(ColumnName = "patchtime")] public string Patchtime { get; set; } /// /// 出库顺序 /// [SugarColumn(ColumnName = "outorder")] public int? Outorder { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "CREATED_BY")] public string CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "CREATED_TIME")] public DateTime? CreatedTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "UPDATED_BY")] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "UPDATED_TIME")] public DateTime? UpdatedTime { get; set; } /// /// 这一批次下的 库存箱子数 /// [SugarColumn(IsIgnore = true)] public int Inventory_pack_num { get; set; } /// /// 这一批次下的 库存零件数 /// [SugarColumn(IsIgnore = true)] public int Inventory_num { get; set; } } }