diff --git a/ZR.Model/MES/wms/WmsArea.cs b/ZR.Model/MES/wms/WmsArea.cs
deleted file mode 100644
index 9f9011eb..00000000
--- a/ZR.Model/MES/wms/WmsArea.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库区
- ///
- [SugarTable("wms_area")]
- public class WmsArea
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "area_no")]
- public string AreaNo { get; set; }
- ///
- /// 名称
- ///
- [SugarColumn(ColumnName = "area_name")]
- public string AreaName { get; set; }
- ///
- /// 所属仓库ID
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long WarehouseId { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsCarrier.cs b/ZR.Model/MES/wms/WmsCarrier.cs
deleted file mode 100644
index 34b591b3..00000000
--- a/ZR.Model/MES/wms/WmsCarrier.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-
-namespace ZR.Model.MES.wms
-{
- ///
- /// 承运商
- ///
- [SugarTable("wms_carrier")]
- public class WmsCarrier
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "carrier_no")]
- public string CarrierNo { get; set; }
- ///
- /// 名称
- ///
- [SugarColumn(ColumnName = "carrier_name")]
- public string CarrierName { get; set; }
- ///
- /// 地址
- ///
- [SugarColumn(ColumnName = "address")]
- public string Address { get; set; }
- ///
- /// 手机号
- ///
- [SugarColumn(ColumnName = "mobile")]
- public string Mobile { get; set; }
- ///
- /// 座机号
- ///
- [SugarColumn(ColumnName = "tel")]
- public string Tel { get; set; }
- ///
- /// 联系人
- ///
- [SugarColumn(ColumnName = "contact")]
- public string Contact { get; set; }
- ///
- /// 级别
- ///
- [SugarColumn(ColumnName = "level")]
- public string Level { get; set; }
- ///
- /// Email
- ///
- [SugarColumn(ColumnName = "email")]
- public string Email { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsCustomer.cs b/ZR.Model/MES/wms/WmsCustomer.cs
deleted file mode 100644
index ee1e4e33..00000000
--- a/ZR.Model/MES/wms/WmsCustomer.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 客户
- ///
- [SugarTable("wms_customer")]
- public class WmsCustomer
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "customer_no")]
- public string CustomerNo { get; set; }
- ///
- /// 名称
- ///
- [SugarColumn(ColumnName = "customer_name")]
- public string CustomerName { get; set; }
- ///
- /// 开户行
- ///
- [SugarColumn(ColumnName = "bank_name")]
- public string BankName { get; set; }
- ///
- /// 银行账户
- ///
- [SugarColumn(ColumnName = "bank_account")]
- public string BankAccount { get; set; }
- ///
- /// 应收款
- /// 默认值: 0.00
- ///
- [SugarColumn(ColumnName = "receivable_amount")]
- public decimal? ReceivableAmount { get; set; }
- ///
- /// 地址
- ///
- [SugarColumn(ColumnName = "address")]
- public string Address { get; set; }
- ///
- /// 手机号
- ///
- [SugarColumn(ColumnName = "mobile")]
- public string Mobile { get; set; }
- ///
- /// 座机号
- ///
- [SugarColumn(ColumnName = "tel")]
- public string Tel { get; set; }
- ///
- /// 联系人
- ///
- [SugarColumn(ColumnName = "customer_person")]
- public string CustomerPerson { get; set; }
- ///
- /// 级别
- ///
- [SugarColumn(ColumnName = "customer_level")]
- public string CustomerLevel { get; set; }
- ///
- /// Email
- ///
- [SugarColumn(ColumnName = "email")]
- public string Email { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsCustomerTransaction.cs b/ZR.Model/MES/wms/WmsCustomerTransaction.cs
deleted file mode 100644
index 880ffab4..00000000
--- a/ZR.Model/MES/wms/WmsCustomerTransaction.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-namespace ZR.Model.MES.wms
-{
- ///
- /// 客户账户流水
- ///
- [SugarTable("wms_customer_transaction")]
- public class WmsCustomerTransaction
- {
- public static String ENTER = "11";
- public static String EXIT = "22";
- public static String SHIPMENT = "33";
- ///
- /// id
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public int Id { get; set; }
- ///
- /// 交易编号
- ///
- [SugarColumn(ColumnName = "transaction_code")]
- public string TransactionCode { get; set; }
- ///
- /// 用户编号
- ///
- [SugarColumn(ColumnName = "customer_id")]
- public string CustomerId { get; set; }
- ///
- /// 交易类型 1:结款 2:应付
- ///
- [SugarColumn(ColumnName = "transaction_type")]
- public string TransactionType { get; set; }
- ///
- /// 交易金额
- ///
- [SugarColumn(ColumnName = "transaction_amount")]
- public decimal TransactionAmount { get; set; }
- ///
- /// 上期余额
- ///
- [SugarColumn(ColumnName = "previous_balance")]
- public decimal PreviousBalance { get; set; }
- ///
- /// 当前余额
- ///
- [SugarColumn(ColumnName = "current_balance")]
- public decimal CurrentBalance { get; set; }
- ///
- /// 出库单号
- ///
- [SugarColumn(ColumnName = "shipment_order_id")]
- public long? ShipmentOrderId { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标志
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建时间
- /// 默认值: CURRENT_TIMESTAMP
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime CreateTime { get; set; }
- ///
- /// 更新时间
- /// 默认值: CURRENT_TIMESTAMP
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsDelivery.cs b/ZR.Model/MES/wms/WmsDelivery.cs
deleted file mode 100644
index ea41f087..00000000
--- a/ZR.Model/MES/wms/WmsDelivery.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 发货记录
- ///
- [SugarTable("wms_delivery")]
- public class WmsDelivery
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 出库单主表Id
- ///
- [SugarColumn(ColumnName = "shipment_order_id")]
- public long? ShipmentOrderId { get; set; }
- ///
- /// 承运商Id
- ///
- [SugarColumn(ColumnName = "carrier_id")]
- public long? CarrierId { get; set; }
- ///
- /// 发货日期
- ///
- [SugarColumn(ColumnName = "delivery_date")]
- public DateTime? DeliveryDate { get; set; }
- ///
- /// 快递单号
- ///
- [SugarColumn(ColumnName = "tracking_no")]
- public string TrackingNo { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsInventory.cs b/ZR.Model/MES/wms/WmsInventory.cs
deleted file mode 100644
index c522fdf4..00000000
--- a/ZR.Model/MES/wms/WmsInventory.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库存
- ///
- [SugarTable("wms_inventory")]
- public class WmsInventory
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 物料ID
- ///
- [SugarColumn(ColumnName = "item_id")]
- public long ItemId { get; set; }
- ///
- /// 货架id
- ///
- [SugarColumn(ColumnName = "rack_id")]
- public long? RackId { get; set; }
- ///
- /// 库存
- ///
- [SugarColumn(ColumnName = "quantity")]
- public decimal? Quantity { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- ///
- /// 所属仓库
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long? WarehouseId { get; set; }
- ///
- /// 所属库区
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long? AreaId { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsInventoryCheck.cs b/ZR.Model/MES/wms/WmsInventoryCheck.cs
deleted file mode 100644
index b387f12a..00000000
--- a/ZR.Model/MES/wms/WmsInventoryCheck.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库存盘点单据
- ///
- [SugarTable("wms_inventory_check")]
- public class WmsInventoryCheck
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 库存盘点单号,系统自动生成
- ///
- [SugarColumn(ColumnName = "inventory_check_no")]
- public string InventoryCheckNo { get; set; }
- ///
- /// 库存盘点类型
- ///
- [SugarColumn(ColumnName = "inventory_check_type")]
- public int? InventoryCheckType { get; set; }
- ///
- /// 库存盘点单状态11:盘点中 22:已完成
- /// 默认值: 11
- ///
- [SugarColumn(ColumnName = "inventory_check_status")]
- public byte? InventoryCheckStatus { get; set; }
- ///
- /// 盈亏数
- ///
- [SugarColumn(ColumnName = "inventory_check_total")]
- public decimal? InventoryCheckTotal { get; set; }
- ///
- /// 审核状态
- ///
- [SugarColumn(ColumnName = "check_status")]
- public byte? CheckStatus { get; set; }
- ///
- /// 审核人
- ///
- [SugarColumn(ColumnName = "check_user_id")]
- public long? CheckUserId { get; set; }
- ///
- /// 审核时间
- ///
- [SugarColumn(ColumnName = "check_time")]
- public DateTime? CheckTime { get; set; }
- ///
- /// 所属仓库
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long? WarehouseId { get; set; }
- ///
- /// 所属库区
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long? AreaId { get; set; }
- ///
- /// 货架
- ///
- [SugarColumn(ColumnName = "rack_id")]
- public long? RackId { get; set; }
- ///
- /// 附件文件
- ///
- [SugarColumn(ColumnName = "attachment")]
- public string Attachment { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsInventoryCheckDetail.cs b/ZR.Model/MES/wms/WmsInventoryCheckDetail.cs
deleted file mode 100644
index dcee8b97..00000000
--- a/ZR.Model/MES/wms/WmsInventoryCheckDetail.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库存盘点单据详情
- ///
- [SugarTable("wms_inventory_check_detail")]
- public class WmsInventoryCheckDetail
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 库存盘点单
- ///
- [SugarColumn(ColumnName = "inventory_check_id")]
- public long? InventoryCheckId { get; set; }
- ///
- /// 物料
- ///
- [SugarColumn(ColumnName = "item_id")]
- public long ItemId { get; set; }
- ///
- /// 库存数量
- ///
- [SugarColumn(ColumnName = "quantity")]
- public decimal? Quantity { get; set; }
- ///
- /// 盘点数量
- ///
- [SugarColumn(ColumnName = "check_quantity")]
- public decimal? CheckQuantity { get; set; }
- ///
- /// 所属仓库
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long? WarehouseId { get; set; }
- ///
- /// 所属库区
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long? AreaId { get; set; }
- ///
- /// 货架
- ///
- [SugarColumn(ColumnName = "rack_id")]
- public long? RackId { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsInventoryHistory.cs b/ZR.Model/MES/wms/WmsInventoryHistory.cs
deleted file mode 100644
index a158d754..00000000
--- a/ZR.Model/MES/wms/WmsInventoryHistory.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库存记录
- ///
- [SugarTable("wms_inventory_history")]
- public class WmsInventoryHistory
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 操作id(出库、入库、库存移动表单id)
- ///
- [SugarColumn(ColumnName = "form_id")]
- public long? FormId { get; set; }
- ///
- /// 操作类型
- ///
- [SugarColumn(ColumnName = "form_type")]
- public int? FormType { get; set; }
- ///
- /// 物料ID
- ///
- [SugarColumn(ColumnName = "item_id")]
- public long? ItemId { get; set; }
- ///
- /// 货架id
- ///
- [SugarColumn(ColumnName = "rack_id")]
- public long? RackId { get; set; }
- ///
- /// 库存变化
- ///
- [SugarColumn(ColumnName = "quantity")]
- public decimal? Quantity { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- ///
- /// 所属仓库
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long? WarehouseId { get; set; }
- ///
- /// 所属库区
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long? AreaId { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsInventoryMovement.cs b/ZR.Model/MES/wms/WmsInventoryMovement.cs
deleted file mode 100644
index 27c6bbfb..00000000
--- a/ZR.Model/MES/wms/WmsInventoryMovement.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库存移动
- ///
- [SugarTable("wms_inventory_movement")]
- public class WmsInventoryMovement
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "inventory_movement_no")]
- public string InventoryMovementNo { get; set; }
- ///
- /// 原货架Id
- ///
- [SugarColumn(ColumnName = "source_rack_id")]
- public long? SourceRackId { get; set; }
- ///
- /// 目标货架
- ///
- [SugarColumn(ColumnName = "target_rack_id")]
- public long? TargetRackId { get; set; }
- ///
- /// 状态
- ///
- [SugarColumn(ColumnName = "status")]
- public byte? Status { get; set; }
- ///
- /// 审核状态
- ///
- [SugarColumn(ColumnName = "check_status")]
- public byte? CheckStatus { get; set; }
- ///
- /// 审核人
- ///
- [SugarColumn(ColumnName = "check_user_id")]
- public long? CheckUserId { get; set; }
- ///
- /// 审核时间
- ///
- [SugarColumn(ColumnName = "check_time")]
- public DateTime? CheckTime { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsInventoryMovementDetail.cs b/ZR.Model/MES/wms/WmsInventoryMovementDetail.cs
deleted file mode 100644
index 59a322f8..00000000
--- a/ZR.Model/MES/wms/WmsInventoryMovementDetail.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库存移动详情
- ///
- [SugarTable("wms_inventory_movement_detail")]
- public class WmsInventoryMovementDetail
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 库存移动Id
- ///
- [SugarColumn(ColumnName = "inventory_movement_id")]
- public long? InventoryMovementId { get; set; }
- ///
- /// 物料
- ///
- [SugarColumn(ColumnName = "item_id")]
- public long? ItemId { get; set; }
- ///
- /// 计划数量
- ///
- [SugarColumn(ColumnName = "plan_quantity")]
- public decimal? PlanQuantity { get; set; }
- ///
- /// 实际数量
- ///
- [SugarColumn(ColumnName = "real_quantity")]
- public decimal? RealQuantity { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- ///
- /// 源货架
- ///
- [SugarColumn(ColumnName = "source_rack_id")]
- public long? SourceRackId { get; set; }
- ///
- /// 源仓库
- ///
- [SugarColumn(ColumnName = "source_warehouse_id")]
- public long? SourceWarehouseId { get; set; }
- ///
- /// 源库区
- ///
- [SugarColumn(ColumnName = "source_area_id")]
- public long? SourceAreaId { get; set; }
- ///
- /// 移库状态
- ///
- [SugarColumn(ColumnName = "move_status")]
- public byte? MoveStatus { get; set; }
- ///
- /// 目标货架
- ///
- [SugarColumn(ColumnName = "target_rack_id")]
- public long? TargetRackId { get; set; }
- ///
- /// 目标仓库
- ///
- [SugarColumn(ColumnName = "target_warehouse_id")]
- public long? TargetWarehouseId { get; set; }
- ///
- /// 目标库区
- ///
- [SugarColumn(ColumnName = "target_area_id")]
- public long? TargetAreaId { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsInventorySettlement.cs b/ZR.Model/MES/wms/WmsInventorySettlement.cs
deleted file mode 100644
index d3e0a17f..00000000
--- a/ZR.Model/MES/wms/WmsInventorySettlement.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库存结算单
- ///
- [SugarTable("wms_inventory_settlement")]
- public class WmsInventorySettlement
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 库存结算单号
- ///
- [SugarColumn(ColumnName = "inventory_settlement_no")]
- public string InventorySettlementNo { get; set; }
- ///
- /// 库存结算单状态11:结算中 22:已完成
- /// 默认值: 11
- ///
- [SugarColumn(ColumnName = "inventory_settlement_status")]
- public byte? InventorySettlementStatus { get; set; }
- ///
- /// 库存结算周期开始时间
- ///
- [SugarColumn(ColumnName = "inventory_settlement_start_time")]
- public DateTime? InventorySettlementStartTime { get; set; }
- ///
- /// 库存结算周期结束时间
- ///
- [SugarColumn(ColumnName = "inventory_settlement_end_time")]
- public DateTime? InventorySettlementEndTime { get; set; }
- ///
- /// 结算类型,1:月结,2:年结
- ///
- [SugarColumn(ColumnName = "settlement_type")]
- public int SettlementType { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsInventorySettlementDetail.cs b/ZR.Model/MES/wms/WmsInventorySettlementDetail.cs
deleted file mode 100644
index d77eaa52..00000000
--- a/ZR.Model/MES/wms/WmsInventorySettlementDetail.cs
+++ /dev/null
@@ -1,132 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 库存结算明细
- ///
- [SugarTable("wms_inventory_settlement_detail")]
- public class WmsInventorySettlementDetail
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 结算单id
- ///
- [SugarColumn(ColumnName = "settlement_id")]
- public long SettlementId { get; set; }
- ///
- /// 结算类型,1:月结,2:年结
- ///
- [SugarColumn(ColumnName = "settlement_type")]
- public int? SettlementType { get; set; }
- ///
- /// 物料id
- ///
- [SugarColumn(ColumnName = "item_id")]
- public long ItemId { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "item_no")]
- public string ItemNo { get; set; }
- ///
- /// 名称
- ///
- [SugarColumn(ColumnName = "item_name")]
- public string ItemName { get; set; }
- ///
- /// 仓库id
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long? WarehouseId { get; set; }
- ///
- /// 仓库编号
- ///
- [SugarColumn(ColumnName = "warehouse_no")]
- public string WarehouseNo { get; set; }
- ///
- /// 仓库名称
- ///
- [SugarColumn(ColumnName = "warehouse_name")]
- public string WarehouseName { get; set; }
- ///
- /// 库区id
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long? AreaId { get; set; }
- ///
- /// 库区编号
- ///
- [SugarColumn(ColumnName = "area_no")]
- public string AreaNo { get; set; }
- ///
- /// 库区名称
- ///
- [SugarColumn(ColumnName = "area_name")]
- public string AreaName { get; set; }
- ///
- /// 上期结存
- ///
- [SugarColumn(ColumnName = "previous_balance")]
- public decimal? PreviousBalance { get; set; }
- ///
- /// 本期入库
- ///
- [SugarColumn(ColumnName = "current_enter")]
- public decimal? CurrentEnter { get; set; }
- ///
- /// 本期出库
- ///
- [SugarColumn(ColumnName = "current_out")]
- public decimal? CurrentOut { get; set; }
- ///
- /// 本期盘点
- ///
- [SugarColumn(ColumnName = "current_check")]
- public decimal? CurrentCheck { get; set; }
- ///
- /// 本期结存
- ///
- [SugarColumn(ColumnName = "current_balance")]
- public decimal? CurrentBalance { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsItem.cs b/ZR.Model/MES/wms/WmsItem.cs
deleted file mode 100644
index 3e00c82b..00000000
--- a/ZR.Model/MES/wms/WmsItem.cs
+++ /dev/null
@@ -1,117 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 物料
- ///
- [SugarTable("wms_item")]
- public class WmsItem
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "item_no")]
- public string ItemNo { get; set; }
- ///
- /// 名称
- ///
- [SugarColumn(ColumnName = "item_name")]
- public string ItemName { get; set; }
- ///
- /// 规格
- ///
- [SugarColumn(ColumnName = "specification")]
- public string Specification { get; set; }
- ///
- /// 分类
- ///
- [SugarColumn(ColumnName = "item_type")]
- public string ItemType { get; set; }
- ///
- /// 单位类别
- ///
- [SugarColumn(ColumnName = "unit")]
- public string Unit { get; set; }
- ///
- /// 单价
- ///
- [SugarColumn(ColumnName = "unit_price")]
- public decimal? UnitPrice { get; set; }
- ///
- /// 所属货架
- ///
- [SugarColumn(ColumnName = "rack_id")]
- public long? RackId { get; set; }
- ///
- /// 所属库区
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long? AreaId { get; set; }
- ///
- /// 所属仓库
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long? WarehouseId { get; set; }
- ///
- /// 安全库存
- ///
- [SugarColumn(ColumnName = "quantity")]
- public decimal? Quantity { get; set; }
- ///
- /// 生产日期
- ///
- [SugarColumn(ColumnName = "production_date")]
- public DateTime? ProductionDate { get; set; }
- ///
- /// 有效期
- ///
- [SugarColumn(ColumnName = "expiry_date")]
- public DateTime? ExpiryDate { get; set; }
- ///
- /// 批次
- ///
- [SugarColumn(ColumnName = "batch")]
- public string Batch { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsItemType.cs b/ZR.Model/MES/wms/WmsItemType.cs
deleted file mode 100644
index 94d3c7bc..00000000
--- a/ZR.Model/MES/wms/WmsItemType.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 物料类型表
- ///
- [SugarTable("wms_item_type")]
- public class WmsItemType
- {
- ///
- /// 物料类型id
- ///
- [SugarColumn(ColumnName = "item_type_id", IsPrimaryKey = true, IsIdentity = true)]
- public long ItemTypeId { get; set; }
- ///
- /// 父物料类型id
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "parent_id")]
- public long? ParentId { get; set; }
- ///
- /// 祖级列表
- /// 默认值:
- ///
- [SugarColumn(ColumnName = "ancestors")]
- public string Ancestors { get; set; }
- ///
- /// 物料类型名称
- /// 默认值:
- ///
- [SugarColumn(ColumnName = "type_name")]
- public string TypeName { get; set; }
- ///
- /// 显示顺序
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "order_num")]
- public int? OrderNum { get; set; }
- ///
- /// 物料类型状态(0正常 1停用)
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "status")]
- public string Status { get; set; }
- ///
- /// 删除标志(0代表存在 2代表删除)
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public string DelFlag { get; set; }
- ///
- /// 创建者
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 更新者
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 更新时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsRack.cs b/ZR.Model/MES/wms/WmsRack.cs
deleted file mode 100644
index 26bc4605..00000000
--- a/ZR.Model/MES/wms/WmsRack.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 货架
- ///
- [SugarTable("wms_rack")]
- public class WmsRack
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "rack_no")]
- public string RackNo { get; set; }
- ///
- /// 名称
- ///
- [SugarColumn(ColumnName = "rack_name")]
- public string RackName { get; set; }
- ///
- /// 所属库区
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long AreaId { get; set; }
- ///
- /// 所属仓库
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long WarehouseId { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsReceiptOrder.cs b/ZR.Model/MES/wms/WmsReceiptOrder.cs
deleted file mode 100644
index e27ad0f6..00000000
--- a/ZR.Model/MES/wms/WmsReceiptOrder.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 入库单
- ///
- [SugarTable("wms_receipt_order")]
- public class WmsReceiptOrder
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 入库单号
- ///
- [SugarColumn(ColumnName = "receipt_order_no")]
- public string ReceiptOrderNo { get; set; }
- ///
- /// 入库类型
- ///
- [SugarColumn(ColumnName = "receipt_order_type")]
- public int? ReceiptOrderType { get; set; }
- ///
- /// 供应商
- ///
- [SugarColumn(ColumnName = "supplier_id")]
- public long? SupplierId { get; set; }
- ///
- /// 订单号
- ///
- [SugarColumn(ColumnName = "order_no")]
- public string OrderNo { get; set; }
- ///
- /// 订单金额
- ///
- [SugarColumn(ColumnName = "payable_amount")]
- public decimal? PayableAmount { get; set; }
- ///
- /// 入库状态
- ///
- [SugarColumn(ColumnName = "receipt_order_status")]
- public byte? ReceiptOrderStatus { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- ///
- /// 波次号
- ///
- [SugarColumn(ColumnName = "wave_no")]
- public string WaveNo { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsReceiptOrderDetail.cs b/ZR.Model/MES/wms/WmsReceiptOrderDetail.cs
deleted file mode 100644
index ce3b42f4..00000000
--- a/ZR.Model/MES/wms/WmsReceiptOrderDetail.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 入库单详情
- ///
- [SugarTable("wms_receipt_order_detail")]
- public class WmsReceiptOrderDetail
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 入库单号
- ///
- [SugarColumn(ColumnName = "receipt_order_id")]
- public long? ReceiptOrderId { get; set; }
- ///
- /// 物料
- ///
- [SugarColumn(ColumnName = "item_id")]
- public long? ItemId { get; set; }
- ///
- /// 计划数量
- ///
- [SugarColumn(ColumnName = "plan_quantity")]
- public decimal? PlanQuantity { get; set; }
- ///
- /// 实际数量
- ///
- [SugarColumn(ColumnName = "real_quantity")]
- public decimal? RealQuantity { get; set; }
- ///
- /// 所属货架
- ///
- [SugarColumn(ColumnName = "rack_id")]
- public long? RackId { get; set; }
- ///
- /// 金额
- ///
- [SugarColumn(ColumnName = "money")]
- public decimal? Money { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- ///
- /// 所属仓库
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long? WarehouseId { get; set; }
- ///
- /// 所属库区
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long? AreaId { get; set; }
- ///
- /// 入库状态
- ///
- [SugarColumn(ColumnName = "receipt_order_status")]
- public byte? ReceiptOrderStatus { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsShipmentOrder.cs b/ZR.Model/MES/wms/WmsShipmentOrder.cs
deleted file mode 100644
index 676547bd..00000000
--- a/ZR.Model/MES/wms/WmsShipmentOrder.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 出库单
- ///
- [SugarTable("wms_shipment_order")]
- public class WmsShipmentOrder
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 出库单号,系统自动生成
- ///
- [SugarColumn(ColumnName = "shipment_order_no")]
- public string ShipmentOrderNo { get; set; }
- ///
- /// 出库类型
- ///
- [SugarColumn(ColumnName = "shipment_order_type")]
- public int? ShipmentOrderType { get; set; }
- ///
- /// 出库订单
- ///
- [SugarColumn(ColumnName = "order_no")]
- public string OrderNo { get; set; }
- ///
- /// 客户
- ///
- [SugarColumn(ColumnName = "customer_id")]
- public long? CustomerId { get; set; }
- ///
- /// 订单金额
- ///
- [SugarColumn(ColumnName = "receivable_amount")]
- public decimal? ReceivableAmount { get; set; }
- ///
- /// 出库单状态
- ///
- [SugarColumn(ColumnName = "shipment_order_status")]
- public byte? ShipmentOrderStatus { get; set; }
- ///
- /// 审核状态
- ///
- [SugarColumn(ColumnName = "check_status")]
- public byte? CheckStatus { get; set; }
- ///
- /// 审核人
- ///
- [SugarColumn(ColumnName = "check_user_id")]
- public long? CheckUserId { get; set; }
- ///
- /// 审核时间
- ///
- [SugarColumn(ColumnName = "check_time")]
- public DateTime? CheckTime { get; set; }
- ///
- /// 波次号
- ///
- [SugarColumn(ColumnName = "wave_no")]
- public string WaveNo { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsShipmentOrderDetail.cs b/ZR.Model/MES/wms/WmsShipmentOrderDetail.cs
deleted file mode 100644
index e662265e..00000000
--- a/ZR.Model/MES/wms/WmsShipmentOrderDetail.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 出库单详情
- ///
- [SugarTable("wms_shipment_order_detail")]
- public class WmsShipmentOrderDetail
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 出库单
- ///
- [SugarColumn(ColumnName = "shipment_order_id")]
- public long? ShipmentOrderId { get; set; }
- ///
- /// 物料
- ///
- [SugarColumn(ColumnName = "item_id")]
- public long? ItemId { get; set; }
- ///
- /// 计划数量
- ///
- [SugarColumn(ColumnName = "plan_quantity")]
- public decimal? PlanQuantity { get; set; }
- ///
- /// 实际数量
- ///
- [SugarColumn(ColumnName = "real_quantity")]
- public decimal? RealQuantity { get; set; }
- ///
- /// 货架
- ///
- [SugarColumn(ColumnName = "rack_id")]
- public long? RackId { get; set; }
- ///
- /// 金额
- ///
- [SugarColumn(ColumnName = "money")]
- public decimal? Money { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- ///
- /// 所属仓库
- ///
- [SugarColumn(ColumnName = "warehouse_id")]
- public long? WarehouseId { get; set; }
- ///
- /// 所属库区
- ///
- [SugarColumn(ColumnName = "area_id")]
- public long? AreaId { get; set; }
- ///
- /// 出库状态
- ///
- [SugarColumn(ColumnName = "shipment_order_status")]
- public byte? ShipmentOrderStatus { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsSupplier.cs b/ZR.Model/MES/wms/WmsSupplier.cs
deleted file mode 100644
index b9bb393a..00000000
--- a/ZR.Model/MES/wms/WmsSupplier.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 供应商
- ///
- [SugarTable("wms_supplier")]
- public class WmsSupplier
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "supplier_no")]
- public string SupplierNo { get; set; }
- ///
- /// 名称
- ///
- [SugarColumn(ColumnName = "supplier_name")]
- public string SupplierName { get; set; }
- ///
- /// 开户行
- ///
- [SugarColumn(ColumnName = "bank_name")]
- public string BankName { get; set; }
- ///
- /// 银行账户
- ///
- [SugarColumn(ColumnName = "bank_account")]
- public string BankAccount { get; set; }
- ///
- /// 应付款
- /// 默认值: 0.00
- ///
- [SugarColumn(ColumnName = "payable_amount")]
- public decimal? PayableAmount { get; set; }
- ///
- /// 地址
- ///
- [SugarColumn(ColumnName = "address")]
- public string Address { get; set; }
- ///
- /// 手机号
- ///
- [SugarColumn(ColumnName = "mobile_no")]
- public string MobileNo { get; set; }
- ///
- /// 座机号
- ///
- [SugarColumn(ColumnName = "tel_no")]
- public string TelNo { get; set; }
- ///
- /// 联系人
- ///
- [SugarColumn(ColumnName = "contact")]
- public string Contact { get; set; }
- ///
- /// 级别
- ///
- [SugarColumn(ColumnName = "level")]
- public string Level { get; set; }
- ///
- /// Email
- ///
- [SugarColumn(ColumnName = "email")]
- public string Email { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsSupplierTransaction.cs b/ZR.Model/MES/wms/WmsSupplierTransaction.cs
deleted file mode 100644
index 8f6681a5..00000000
--- a/ZR.Model/MES/wms/WmsSupplierTransaction.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 供应商账户流水
- ///
- [SugarTable("wms_supplier_transaction")]
- public class WmsSupplierTransaction
- {
- ///
- /// id
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public int Id { get; set; }
- ///
- /// 交易编号
- ///
- [SugarColumn(ColumnName = "transaction_code")]
- public string TransactionCode { get; set; }
- ///
- /// 供应商编号
- ///
- [SugarColumn(ColumnName = "supplier_id")]
- public string SupplierId { get; set; }
- ///
- /// 交易类型 1:结款 2:应付
- ///
- [SugarColumn(ColumnName = "transaction_type")]
- public string TransactionType { get; set; }
- ///
- /// 交易金额
- ///
- [SugarColumn(ColumnName = "transaction_amount")]
- public decimal TransactionAmount { get; set; }
- ///
- /// 上期余额
- ///
- [SugarColumn(ColumnName = "previous_balance")]
- public decimal PreviousBalance { get; set; }
- ///
- /// 当前余额
- ///
- [SugarColumn(ColumnName = "current_balance")]
- public decimal CurrentBalance { get; set; }
- ///
- /// 入库单号
- ///
- [SugarColumn(ColumnName = "receipt_order_id")]
- public long? ReceiptOrderId { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标志
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建时间
- /// 默认值: CURRENT_TIMESTAMP
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime CreateTime { get; set; }
- ///
- /// 更新时间
- /// 默认值: CURRENT_TIMESTAMP
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsWarehouse.cs b/ZR.Model/MES/wms/WmsWarehouse.cs
deleted file mode 100644
index 7ba27a65..00000000
--- a/ZR.Model/MES/wms/WmsWarehouse.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 仓库
- ///
- [SugarTable("wms_warehouse")]
- public class WmsWarehouse
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 编号
- ///
- [SugarColumn(ColumnName = "warehouse_no")]
- public string WarehouseNo { get; set; }
- ///
- /// 名称
- ///
- [SugarColumn(ColumnName = "warehouse_name")]
- public string WarehouseName { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- }
-}
diff --git a/ZR.Model/MES/wms/WmsWave.cs b/ZR.Model/MES/wms/WmsWave.cs
deleted file mode 100644
index a87aa990..00000000
--- a/ZR.Model/MES/wms/WmsWave.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using SqlSugar;
-namespace ZR.Model.MES.wms
-{
- ///
- /// 波次
- ///
- [SugarTable("wms_wave")]
- public class WmsWave
- {
- ///
- ///
- ///
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- ///
- /// 波次号
- ///
- [SugarColumn(ColumnName = "wave_no")]
- public string WaveNo { get; set; }
- ///
- /// 状态
- ///
- [SugarColumn(ColumnName = "status")]
- public string Status { get; set; }
- ///
- /// 备注
- ///
- [SugarColumn(ColumnName = "remark")]
- public string Remark { get; set; }
- ///
- /// 删除标识
- /// 默认值: 0
- ///
- [SugarColumn(ColumnName = "del_flag")]
- public byte DelFlag { get; set; }
- ///
- /// 创建人
- ///
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- ///
- /// 创建时间
- ///
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- ///
- /// 修改人
- ///
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- ///
- /// 修改时间
- ///
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- ///
- /// 1:入库单 2:出库单
- /// 默认值: 2
- ///
- [SugarColumn(ColumnName = "type")]
- public int? Type { get; set; }
- }
-}