diff --git a/Git.Storage.Common/EAudite.cs b/Git.Storage.Common/EAudite.cs
new file mode 100644
index 0000000..0ce6b12
--- /dev/null
+++ b/Git.Storage.Common/EAudite.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-29 23:39:49
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:39:49 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EAudite
+ {
+ [Description("等待审核")]
+ Wait=1,
+
+ [Description("审核成功")]
+ Pass=2,
+
+ [Description("审核失败")]
+ NotPass=3
+ }
+}
diff --git a/Git.Storage.Common/EBadType.cs b/Git.Storage.Common/EBadType.cs
new file mode 100644
index 0000000..1be84b7
--- /dev/null
+++ b/Git.Storage.Common/EBadType.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-29 23:45:39
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:45:39 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EBadType
+ {
+ [Description("损坏报损")]
+ Bad = 1,
+
+ [Description("丢失报损")]
+ Loss = 2,
+ }
+}
diff --git a/Git.Storage.Common/EBool.cs b/Git.Storage.Common/EBool.cs
new file mode 100644
index 0000000..8d0d42b
--- /dev/null
+++ b/Git.Storage.Common/EBool.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-01-02 10:51:23
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-01-02 10:51:23 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EBool
+ {
+ [Description("是")]
+ Yes = 0,
+
+ [Description("否")]
+ No = 1
+ }
+}
diff --git a/Git.Storage.Common/EChange.cs b/Git.Storage.Common/EChange.cs
new file mode 100644
index 0000000..0d21a12
--- /dev/null
+++ b/Git.Storage.Common/EChange.cs
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-07-22 14:48:53
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-07-22 14:48:53 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EChange
+ {
+ [Description("入库")]
+ In = 1,
+
+ [Description("出库")]
+ Out = 2,
+
+ [Description("移库(移除)")]
+ MoveOut = 3,
+
+ [Description("移库(移入)")]
+ MoveIn = -3,
+
+ [Description("报损(移除)")]
+ BadOut = 4,
+
+ [Description("报损(移入)")]
+ BadIn = -4,
+
+ [Description("盘盈")]
+ InventoryIncome = 5,
+
+ [Description("盘亏")]
+ InventoryLoss = 6,
+
+ [Description("退货")]
+ Back = 7,
+ }
+}
diff --git a/Git.Storage.Common/ECheckType.cs b/Git.Storage.Common/ECheckType.cs
new file mode 100644
index 0000000..eb3f237
--- /dev/null
+++ b/Git.Storage.Common/ECheckType.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum ECheckType
+ {
+ [Description("库位盘点")]
+ Local = 1,
+
+ [Description("产品盘点")]
+ Product = 2
+ }
+}
diff --git a/Git.Storage.Common/ECusType.cs b/Git.Storage.Common/ECusType.cs
new file mode 100644
index 0000000..451b5cd
--- /dev/null
+++ b/Git.Storage.Common/ECusType.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum ECusType
+ {
+ ///
+ /// 合作客户
+ ///
+ [Description("合作客户")]
+ Cooperation = 1,
+
+ ///
+ /// 潜在客户
+ ///
+ [Description("潜在客户")]
+ Potential = 2,
+
+ ///
+ /// 丢失客户
+ ///
+ [Description("丢失客户")]
+ Lost = 3,
+
+ ///
+ /// 虚拟客户
+ ///
+ [Description("虚拟客户")]
+ Invented = 4
+ }
+}
diff --git a/Git.Storage.Common/EDataSourceType.cs b/Git.Storage.Common/EDataSourceType.cs
new file mode 100644
index 0000000..d8b675a
--- /dev/null
+++ b/Git.Storage.Common/EDataSourceType.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2015/9/5 20:59:26
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2015/9/5 20:59:26 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EDataSourceType
+ {
+ [Description("SQL语句")]
+ SQL=1,
+
+ [Description("存储过程")]
+ Procedure=2
+ }
+}
diff --git a/Git.Storage.Common/EElementType.cs b/Git.Storage.Common/EElementType.cs
new file mode 100644
index 0000000..20b2c12
--- /dev/null
+++ b/Git.Storage.Common/EElementType.cs
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2015/9/6 10:35:24
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2015/9/6 10:35:24 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EElementType
+ {
+ [Description("文本框")]
+ TextBox=1,
+
+ [Description("文本域")]
+ TextArea=2,
+
+ [Description("下拉框")]
+ Select=3,
+
+ [Description("时间框")]
+ DateTime=4,
+
+ [Description("日期框")]
+ Date=5
+ }
+}
diff --git a/Git.Storage.Common/EEquipmentStatus.cs b/Git.Storage.Common/EEquipmentStatus.cs
new file mode 100644
index 0000000..0549fd7
--- /dev/null
+++ b/Git.Storage.Common/EEquipmentStatus.cs
@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EEquipmentStatus
+ {
+ ///
+ /// 闲置
+ ///
+ [Description("闲置")]
+ Unused = 1,
+
+ ///
+ /// 正在使用
+ ///
+ [Description("正在使用")]
+ IsUsing = 2,
+
+ ///
+ /// 报修
+ ///
+ [Description("报修")]
+ Repair = 3,
+
+ ///
+ /// 报损
+ ///
+ [Description("报损")]
+ Breakage = 4,
+
+ ///
+ /// 遗失
+ ///
+ [Description("遗失")]
+ Lost = 5,
+ }
+}
diff --git a/Git.Storage.Common/EInType.cs b/Git.Storage.Common/EInType.cs
new file mode 100644
index 0000000..8c25ccd
--- /dev/null
+++ b/Git.Storage.Common/EInType.cs
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-30 9:03:48
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-30 9:03:48 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EInType
+ {
+ ///
+ /// 购买相应的产品并且入到仓库
+ ///
+ [Description("采购收货入库")]
+ Purchase=1,
+
+ ///
+ /// 将产品出售给客户然后因为某种原因退回仓库
+ ///
+ [Description("销售退货入库")]
+ SellToBack=2,
+
+ ///
+ /// 加工生产产品入到仓库
+ ///
+ [Description("生产产品入库")]
+ Produce = 3,
+
+ ///
+ /// 内部借用某个物品使用完之后还回仓库入库
+ ///
+ [Description("领用退还入库")]
+ BorrowToBack=4,
+
+ ///
+ /// 从外部借入某个物品入库
+ ///
+ [Description("借货入库")]
+ BorrowIn=5,
+
+ ///
+ /// 将物品借给其他人然后还回仓库
+ ///
+ [Description("借出还入")]
+ BorrowOut = 6,
+ }
+}
diff --git a/Git.Storage.Common/EIsDelete.cs b/Git.Storage.Common/EIsDelete.cs
new file mode 100644
index 0000000..8cbe477
--- /dev/null
+++ b/Git.Storage.Common/EIsDelete.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EIsDelete
+ {
+ ///
+ /// 未删除
+ ///
+ [Description("未删除")]
+ NotDelete=0,
+
+ ///
+ /// 已删除
+ ///
+ [Description("已删除")]
+ Deleted=1
+ }
+}
diff --git a/Git.Storage.Common/ELocalType.cs b/Git.Storage.Common/ELocalType.cs
new file mode 100644
index 0000000..2e60a2a
--- /dev/null
+++ b/Git.Storage.Common/ELocalType.cs
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-26 13:43:56
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-26 13:43:56 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum ELocalType
+ {
+ ///
+ /// 正式库区
+ ///
+ [Description("正式库区")]
+ Normal=1,
+
+ ///
+ /// 待入库区
+ ///
+ [Description("待入库区")]
+ WaitIn=2,
+
+ ///
+ /// 待检库区
+ ///
+ [Description("待检库区")]
+ WaitCheck = 3,
+
+ ///
+ /// 待出库区
+ ///
+ [Description("待出库区")]
+ WaitOut = 4,
+
+ ///
+ /// 报损库区
+ ///
+ [Description("报损库区")]
+ Bad = 5,
+ }
+}
diff --git a/Git.Storage.Common/EMoveType.cs b/Git.Storage.Common/EMoveType.cs
new file mode 100644
index 0000000..2a24505
--- /dev/null
+++ b/Git.Storage.Common/EMoveType.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-29 23:42:29
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:42:29 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EMoveType
+ {
+ [Description("移库上架")]
+ ToRack=1,
+
+ [Description("仓库移库")]
+ RackToRack=2,
+
+ [Description("报损移库")]
+ MoveToBad = 3
+ }
+}
diff --git a/Git.Storage.Common/EOpType.cs b/Git.Storage.Common/EOpType.cs
new file mode 100644
index 0000000..94d88de
--- /dev/null
+++ b/Git.Storage.Common/EOpType.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-02-17 16:15:22
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-02-17 16:15:22 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EOpType
+ {
+ [Description("电脑")]
+ PC=1,
+
+ [Description("PDA")]
+ PDA=2
+ }
+}
diff --git a/Git.Storage.Common/EOrder.cs b/Git.Storage.Common/EOrder.cs
new file mode 100644
index 0000000..7677da0
--- /dev/null
+++ b/Git.Storage.Common/EOrder.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2015/9/10 22:41:11
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2015/9/10 22:41:11 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EOrder
+ {
+ [Description("入库单")]
+ InOrder=1,
+
+ [Description("出库单")]
+ OutOrder=2
+ }
+}
diff --git a/Git.Storage.Common/EOrderStatus.cs b/Git.Storage.Common/EOrderStatus.cs
new file mode 100644
index 0000000..7451688
--- /dev/null
+++ b/Git.Storage.Common/EOrderStatus.cs
@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+
+ public enum EOrderStatus
+ {
+ ///
+ /// 创建订单
+ ///
+ [Description("创建订单")]
+ CreateOrder = 1,
+
+ ///
+ /// 订单确认
+ ///
+ [Description("订单确认")]
+ OrderConfirm = 2,
+
+ ///
+ /// 排产中
+ ///
+ [Description("排产中")]
+ InTheStock = 3,
+
+ ///
+ /// 部分出货
+ ///
+ [Description("部分出货")]
+ PartialDelivery = 4,
+
+ ///
+ /// 全部出货
+ ///
+ [Description("全部出货")]
+ AllDelivery = 5,
+
+ ///
+ /// 出货失败
+ ///
+ [Description("出货失败")]
+ DeliveryFailure = 6
+ }
+}
diff --git a/Git.Storage.Common/EOrderType.cs b/Git.Storage.Common/EOrderType.cs
new file mode 100644
index 0000000..8004e69
--- /dev/null
+++ b/Git.Storage.Common/EOrderType.cs
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-08-11 17:18:58
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-08-11 17:18:58 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EOrderType
+ {
+ ///
+ /// 实际订单
+ ///
+ [Description("实际订单")]
+ Really = 1,
+
+ ///
+ /// 虚拟订单
+ ///
+ [Description("虚拟订单")]
+ Invented = 2
+ }
+}
diff --git a/Git.Storage.Common/EOutType.cs b/Git.Storage.Common/EOutType.cs
new file mode 100644
index 0000000..50c5520
--- /dev/null
+++ b/Git.Storage.Common/EOutType.cs
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-30 9:13:48
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-30 9:13:48 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EOutType
+ {
+ ///
+ /// 从外部采购物品入库
+ ///
+ [Description("采购退货出库")]
+ BuyToBack=1,
+
+ ///
+ /// 销售出产品从仓库出货
+ ///
+ [Description("销售提货出库")]
+ Sell=2,
+
+ ///
+ /// 需要某种材料或者物品出库
+ ///
+ [Description("领用出库")]
+ Use =3,
+
+ ///
+ /// 从仓库借出某物品出库
+ ///
+ [Description("借货出库")]
+ Borrow = 4,
+
+ ///
+ /// 之前借入某个物品还出出库
+ ///
+ [Description("借入还出")]
+ ToBack = 5,
+ }
+}
diff --git a/Git.Storage.Common/EProductType.cs b/Git.Storage.Common/EProductType.cs
new file mode 100644
index 0000000..12b1fa5
--- /dev/null
+++ b/Git.Storage.Common/EProductType.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-29 23:38:07
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:38:07 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EProductType
+ {
+ [Description("原料")]
+ Material=1,
+
+ [Description("产品")]
+ Goods=2
+ }
+}
diff --git a/Git.Storage.Common/EReportType.cs b/Git.Storage.Common/EReportType.cs
new file mode 100644
index 0000000..e82049a
--- /dev/null
+++ b/Git.Storage.Common/EReportType.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2015/9/5 20:58:16
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2015/9/5 20:58:16 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EReportType
+ {
+ [Description("单据")]
+ Bill=1,
+
+ [Description("报表")]
+ Report=2
+ }
+}
diff --git a/Git.Storage.Common/EResourceType.cs b/Git.Storage.Common/EResourceType.cs
new file mode 100644
index 0000000..2345690
--- /dev/null
+++ b/Git.Storage.Common/EResourceType.cs
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014/5/6 9:00:54
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014/5/6 9:00:54 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EResourceType
+ {
+ [Description("非控制")]
+ NoRole = 0,
+
+ [Description("页面")]
+ Page=1,
+
+ [Description("对话框")]
+ Dialog=2,
+
+ [Description("Ajax请求")]
+ Ajax=3,
+
+ [Description("链接")]
+ Link=4
+
+ }
+}
diff --git a/Git.Storage.Common/EReturnStatus.cs b/Git.Storage.Common/EReturnStatus.cs
new file mode 100644
index 0000000..f7d4f04
--- /dev/null
+++ b/Git.Storage.Common/EReturnStatus.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-30 14:33:11
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-30 14:33:11 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EReturnStatus
+ {
+ [Description("Success")]
+ Success=1,
+
+ [Description("Error")]
+ Error=2,
+
+ [Description("Pass")]
+ Pass=3,
+ }
+}
diff --git a/Git.Storage.Common/EReturnType.cs b/Git.Storage.Common/EReturnType.cs
new file mode 100644
index 0000000..99e1fe8
--- /dev/null
+++ b/Git.Storage.Common/EReturnType.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014/4/20 21:58:13
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014/4/20 21:58:13 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EReturnType
+ {
+ [Description("销售退货")]
+ Sell = 1,
+
+ [Description("采购退货")]
+ Purchase = 2
+ }
+}
diff --git a/Git.Storage.Common/ESequence.cs b/Git.Storage.Common/ESequence.cs
new file mode 100644
index 0000000..5e4972b
--- /dev/null
+++ b/Git.Storage.Common/ESequence.cs
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2015/10/8 13:04:17
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2015/10/8 13:04:17 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum ESequence
+ {
+ [Description("常量")]
+ Constant = 1,
+
+ [Description("GUID")]
+ Guid = 2,
+
+ [Description("自定义时间")]
+ CustomerTime = 3,
+
+ [Description("流水号")]
+ Sequence = 4,
+
+ [Description("每日流水号")]
+ SequenceOfDay = 5
+ }
+}
diff --git a/Git.Storage.Common/EStorageType.cs b/Git.Storage.Common/EStorageType.cs
new file mode 100644
index 0000000..9e76984
--- /dev/null
+++ b/Git.Storage.Common/EStorageType.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-01-22 11:48:50
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-01-22 11:48:50 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EStorageType
+ {
+ [Description("成品仓库")]
+ Product=1,
+
+ [Description("原料仓库")]
+ Material=2
+ }
+}
diff --git a/Git.Storage.Common/ESupType.cs b/Git.Storage.Common/ESupType.cs
new file mode 100644
index 0000000..fef7207
--- /dev/null
+++ b/Git.Storage.Common/ESupType.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-08-11 18:52:24
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-08-11 18:52:24 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum ESupType
+ {
+ ///
+ /// 虚拟供应商
+ ///
+ [Description("虚拟供应商")]
+ Invented = 1,
+
+ [Description("合作供应商")]
+ Cooperation = 2
+ }
+}
diff --git a/Git.Storage.Common/EUnit.cs b/Git.Storage.Common/EUnit.cs
new file mode 100644
index 0000000..3ade821
--- /dev/null
+++ b/Git.Storage.Common/EUnit.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-01-23 10:48:14
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-01-23 10:48:14 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common
+{
+ public enum EUnit
+ {
+ [Description("件")]
+ Jian=1,
+
+ [Description("台")]
+ Tai=2,
+
+ [Description("张")]
+ Zhang = 3
+ }
+}
diff --git a/Git.Storage.Common/EnumJson/EnumToJsonHelper.cs b/Git.Storage.Common/EnumJson/EnumToJsonHelper.cs
new file mode 100644
index 0000000..2712c7c
--- /dev/null
+++ b/Git.Storage.Common/EnumJson/EnumToJsonHelper.cs
@@ -0,0 +1,146 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-01-18 18:29:48
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-01-18 18:29:48 情缘
+*********************************************************************************/
+
+using Git.Framework.DataTypes;
+using Git.Framework.Json;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Git.Framework.DataTypes.ExtensionMethods;
+
+namespace Git.Storage.Common.EnumJson
+{
+ public partial class EnumToJsonHelper
+ {
+ private static IDictionary listType = null;
+
+ ///
+ /// 注册枚举值类型
+ ///
+ ///
+ ///
+ ///
+ public static void Reg(T en)
+ {
+ listType = listType.IsNull() ? new Dictionary() : listType;
+ Type type = typeof(T);
+ string name = type.Name;
+ if (!listType.ContainsKey(name))
+ {
+ listType.Add(name, type);
+ }
+ }
+
+ ///
+ /// 注册枚举值类型
+ ///
+ ///
+ public static void Reg(params Type[] types)
+ {
+ listType = listType.IsNull() ? new Dictionary() : listType;
+ if (types != null)
+ {
+ foreach (Type type in types)
+ {
+ string name = type.Name;
+ if (!listType.ContainsKey(name))
+ {
+ listType.Add(name, type);
+ }
+ }
+ }
+ }
+
+ ///
+ /// 将枚举类型转化为JSON字符串
+ ///
+ ///
+ public static string GetJson(Type type)
+ {
+ List list = EnumHelper.GetEnumList(type);
+ JsonProperty property = new JsonProperty();
+ foreach (ReadEnum item in list)
+ {
+ JsonObject jsonItem = new JsonObject();
+ jsonItem.AddProperty("Name", item.Name);
+ jsonItem.AddProperty("Value", item.Value);
+ jsonItem.AddProperty("Description", item.Description);
+ property.Add(jsonItem);
+ }
+ return property.ToString();
+ }
+
+ ///
+ /// 获得枚举类型转化为json对象
+ ///
+ ///
+ ///
+ public static string GetJsonObject(Type type)
+ {
+ List list = EnumHelper.GetEnumList(type);
+ JsonObject jsonObject = new JsonObject();
+ foreach (ReadEnum item in list)
+ {
+ jsonObject.AddProperty(item.Name,item.Value);
+ }
+ return jsonObject.ToString();
+ }
+
+ ///
+ /// 获得js内容
+ ///
+ ///
+ public static string GetJs()
+ {
+ StringBuilder sb = new StringBuilder();
+ if (listType != null)
+ {
+ foreach (Type type in listType.Values)
+ {
+ sb.AppendFormat("var {0}={1};", type.Name, GetJson(type));
+ }
+ }
+ return sb.ToString();
+ }
+
+ ///
+ /// 获得所有的枚举对象集合
+ ///
+ ///
+ public static string GetMenuObject()
+ {
+ StringBuilder sb = new StringBuilder();
+ if (listType != null)
+ {
+ foreach (Type type in listType.Values)
+ {
+ sb.AppendFormat("var {0}={1};", type.Name+"Json", GetJsonObject(type));
+ }
+ }
+ return sb.ToString();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static string GetJson(T entity)
+ {
+ Type type = typeof(T);
+ return GetJson(type);
+ }
+ }
+}
diff --git a/Git.Storage.Common/Excel/AsposeExcel.cs b/Git.Storage.Common/Excel/AsposeExcel.cs
new file mode 100644
index 0000000..3d8eff6
--- /dev/null
+++ b/Git.Storage.Common/Excel/AsposeExcel.cs
@@ -0,0 +1,147 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-02-19 9:21:41
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-02-19 9:21:41 情缘
+*********************************************************************************/
+
+using Aspose.Cells;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Common.Excel
+{
+ ///
+ /// Excel操作类
+ ///
+ public class AsposeExcel
+ {
+
+ private string outFileName = "";
+ private string fullFilename = "";
+ private Workbook book = null;
+ private Worksheet sheet = null;
+
+ private Action action = (Cell cellItem) =>
+ {
+ cellItem.Style.Borders[BorderType.BottomBorder].LineStyle = CellBorderType.Thin;
+ cellItem.Style.Borders[BorderType.BottomBorder].Color = System.Drawing.Color.Black;
+
+ cellItem.Style.Borders[BorderType.TopBorder].LineStyle = CellBorderType.Thin;
+ cellItem.Style.Borders[BorderType.TopBorder].Color = System.Drawing.Color.Black;
+
+ cellItem.Style.Borders[BorderType.LeftBorder].LineStyle = CellBorderType.Thin;
+ cellItem.Style.Borders[BorderType.LeftBorder].Color = System.Drawing.Color.Black;
+
+ cellItem.Style.Borders[BorderType.RightBorder].LineStyle = CellBorderType.Thin;
+ cellItem.Style.Borders[BorderType.RightBorder].Color = System.Drawing.Color.Black;
+ };
+
+ ///
+ /// //导出构造数
+ ///
+ ///
+ ///
+ public AsposeExcel(string outfilename, string tempfilename)
+ {
+ outFileName = outfilename;
+ book = new Workbook();
+ // book.Open(tempfilename);这里我们暂时不用模板
+ sheet = book.Worksheets[0];
+
+ }
+ ///
+ /// //导入构造数
+ ///
+ ///
+ public AsposeExcel(string fullfilename)
+ {
+ fullFilename = fullfilename;
+ }
+
+ private void AddTitle(string title, int columnCount)
+ {
+ sheet.Cells.Merge(0, 0, 2, columnCount);
+ Cell cell1 = sheet.Cells[0, 0];
+ cell1.PutValue(title);
+ cell1.Style.HorizontalAlignment = TextAlignmentType.Center;
+ //cell1.Style.Font.Color = System.Drawing.Color.Blue;
+ cell1.Style.Font.Size = 20;
+ cell1.Style.Font.IsBold = true;
+
+ }
+
+ private void AddHeader(DataTable dt)
+ {
+
+ for (int col = 0; col < dt.Columns.Count; col++)
+ {
+ action(sheet.Cells[2, col]);
+ sheet.Cells[2, col].PutValue(dt.Columns[col].ColumnName);
+ sheet.Cells[2, col].Style.Font.IsBold = true;
+ // sheet.Cells[2, col].Style.Font.Size = 13;
+ }
+ }
+
+ private void AddBody(DataTable dt)
+ {
+ for (int r = 0; r < dt.Rows.Count; r++)
+ {
+ for (int c = 0; c < dt.Columns.Count; c++)
+ {
+ action(sheet.Cells[r + 3, c]);
+ sheet.Cells[r + 3, c].PutValue(dt.Rows[r][c].ToString());
+
+ }
+ }
+ }
+ ///
+ /// //导出------------
+ ///
+ ///
+ ///
+ public Boolean DatatableToExcel(DataTable dt, string sheetName, string title)
+ {
+ Boolean yn = false;
+ try
+ {
+ sheet.Name = sheetName;
+
+ AddTitle(title, dt.Columns.Count);
+ AddHeader(dt);
+ AddBody(dt);
+ sheet.AutoFitColumns();
+ book.Save(outFileName);
+ yn = true;
+ return yn;
+ }
+ catch (Exception e)
+ {
+ return yn;
+ }
+ }
+ ///
+ /// 导入
+ ///
+ ///
+ public DataTable ExcelToDatatalbe(string sheetName)
+ {
+ Workbook book = new Workbook();
+ book.Open(fullFilename);
+ Worksheet sheet = book.Worksheets[sheetName];
+ Cells cells = sheet.Cells;
+ DataTable dt_Import = cells.ExportDataTableAsString(0, 0, cells.MaxDataRow + 1, cells.MaxDataColumn + 1, true);
+
+ return dt_Import;
+ }
+ }
+}
diff --git a/Git.Storage.Common/Excel/NPOIExcel.cs b/Git.Storage.Common/Excel/NPOIExcel.cs
new file mode 100644
index 0000000..6003366
--- /dev/null
+++ b/Git.Storage.Common/Excel/NPOIExcel.cs
@@ -0,0 +1,113 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-11-07 22:36:34
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-11-07 22:36:34 情缘
+*********************************************************************************/
+
+using NPOI.HSSF.UserModel;
+using NPOI.SS.UserModel;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.IO;
+using System.Linq;
+using System.Text;
+using Git.Framework.DataTypes;
+using Git.Framework.DataTypes.ExtensionMethods;
+using NPOI.SS.Util;
+using NPOI.HSSF.Util;
+
+namespace Git.Storage.Common.Excel
+{
+ public class NPOIExcel
+ {
+ private string _title;
+ private string _sheetName;
+ private string _filePath;
+
+ public NPOIExcel(string title, string sheetName, string filePath)
+ {
+ this._title = title;
+ this._sheetName = sheetName;
+ this._filePath = filePath;
+ }
+
+ ///
+ /// 导出到Excel
+ ///
+ ///
+ ///
+ public bool ToExcel(DataTable table)
+ {
+ FileStream fs = new FileStream(this._filePath, FileMode.OpenOrCreate, FileAccess.ReadWrite);
+ IWorkbook workBook = new HSSFWorkbook();
+ this._sheetName = this._sheetName.IsEmpty() ? "sheet1" : this._sheetName;
+ ISheet sheet = workBook.CreateSheet(this._sheetName);
+
+ //处理表格标题
+ IRow row = sheet.CreateRow(0);
+ row.CreateCell(0).SetCellValue(this._title);
+ sheet.AddMergedRegion(new CellRangeAddress(0, 0, 0, table.Columns.Count - 1));
+ row.Height = 500;
+
+ ICellStyle cellStyle = workBook.CreateCellStyle();
+ IFont font = workBook.CreateFont();
+ font.FontName = "微软雅黑";
+ font.FontHeightInPoints = 17;
+ cellStyle.SetFont(font);
+ cellStyle.VerticalAlignment = VerticalAlignment.Center;
+ cellStyle.Alignment = HorizontalAlignment.Center;
+ row.Cells[0].CellStyle = cellStyle;
+
+ //处理表格列头
+ row = sheet.CreateRow(1);
+ for (int i = 0; i < table.Columns.Count; i++)
+ {
+ row.CreateCell(i).SetCellValue(table.Columns[i].ColumnName);
+ row.Height = 350;
+ sheet.AutoSizeColumn(i);
+ }
+
+ //处理数据内容
+ for (int i = 0; i < table.Rows.Count; i++)
+ {
+ row = sheet.CreateRow(2 + i);
+ row.Height = 250;
+ for (int j = 0; j < table.Columns.Count; j++)
+ {
+ row.CreateCell(j).SetCellValue(table.Rows[i][j].ToString());
+ sheet.SetColumnWidth(j, 256 * 15);
+ }
+ }
+
+ //写入数据流
+ workBook.Write(fs);
+ fs.Flush();
+ fs.Close();
+
+ return true;
+ }
+
+ ///
+ /// 导出到Excel
+ ///
+ ///
+ ///
+ ///
+ ///
+ public bool ToExcel(DataTable table, string title, string sheetName, string filePath)
+ {
+ this._title = title;
+ this._sheetName = sheetName;
+ this._filePath = filePath;
+ return ToExcel(table);
+ }
+ }
+}
diff --git a/Git.Storage.Common/ExcelHelper.cs b/Git.Storage.Common/ExcelHelper.cs
new file mode 100644
index 0000000..ac669ff
--- /dev/null
+++ b/Git.Storage.Common/ExcelHelper.cs
@@ -0,0 +1,139 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data.OleDb;
+using System.Data;
+//using Microsoft.Office.Interop.Excel;
+
+namespace Storage.Common
+{
+ ///
+ /// EXcel帮助类
+ ///
+ public class ExcelHelper
+ {
+ private static string GetConnString(string path, string excelVersion)
+ {
+ string strConn = "";
+ if (excelVersion == "2003")
+ strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + path + ";Extended Properties='Excel 8.0;HDR=False;IMEX=1'";
+ else //if (excelVersion == "2007")
+ {
+ strConn = "Provider=Microsoft.ACE.OLEDB.12.0;";
+ strConn += @"Data Source=" + path + ";";
+ strConn += "Extended Properties=\"Excel 12.0 Xml;HDR=NO\";";
+ }
+ return strConn;
+ }
+ //加载Excel
+ public static DataSet LoadDataFromExcel(string filePath, string SheetName, string top = "", string excelVersion = "2003")
+ {
+ try
+ {
+ string strConn = GetConnString(filePath, excelVersion);
+ OleDbConnection OleConn = new OleDbConnection(strConn);
+ OleConn.Open();
+ System.Data.DataTable dt = GetTableName(OleConn);
+ if (dt.Rows.Count <= 0)
+ throw new Exception("Excel中没有工作表!");
+ if (string.IsNullOrEmpty(SheetName))
+ throw new Exception("工作表不能为空");
+ bool isexistTable = false;
+ for (var rowIndex = 0; rowIndex < dt.Rows.Count;rowIndex++ )
+ {
+ if (SheetName == Convert.ToString(dt.Rows[rowIndex][2]))
+ {
+ isexistTable = true;
+ break;
+ }
+ }
+ if (!isexistTable) {
+ throw new Exception("工作表"+SheetName+"不存在");
+ }
+ String sql = "SELECT "+top+" * FROM [" + SheetName + "]";//可是更改Sheet名称,比如sheet2,等等
+
+ OleDbDataAdapter OleDaExcel = new OleDbDataAdapter(sql, OleConn);
+ DataSet OleDsExcle = new DataSet();
+ OleDaExcel.Fill(OleDsExcle, SheetName);
+ OleConn.Close();
+ return OleDsExcle;
+ }
+ catch (Exception err)
+ {
+ throw err;
+ }
+ }
+ public static System.Data.DataTable GetTableName(OleDbConnection oledbconn1)
+ {
+ System.Data.DataTable dt = oledbconn1.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, new object[] { null, null, null, "TABLE" });
+
+ return dt;
+
+ }
+ ///
+ /// 获得所有的Excel工作表名称
+ ///
+ ///
+ ///
+ public static System.Data.DataTable GetTableName(string path,string excelVersion="2003")
+ {
+ string strConn = GetConnString(path, excelVersion);
+ OleDbConnection OleConn = new OleDbConnection(strConn);
+ OleConn.Open();
+ System.Data.DataTable dt = OleConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, new object[] { null, null, null, "TABLE" });
+ OleConn.Close();
+ return dt;
+
+ }
+ public static bool SaveDataTableToExcel(System.Data.DataTable excelTable, string filePath)
+ {
+ // Microsoft.Office.Interop.Excel.Application app =
+ // new Microsoft.Office.Interop.Excel.ApplicationClass();
+ // try
+ // {
+ // app.Visible = false;
+ // Workbook wBook = app.Workbooks.Add(true);
+ // Worksheet wSheet = wBook.Worksheets[1] as Worksheet;
+ // if (excelTable.Rows.Count > 0)
+ // {
+ // int row = 0;
+ // row = excelTable.Rows.Count;
+ // int col = excelTable.Columns.Count;
+ // for (int i = 0; i < row; i++)
+ // {
+ // for (int j = 0; j < col; j++)
+ // {
+ // string str = excelTable.Rows[i][j].ToString();
+ // wSheet.Cells[i + 2, j + 1] = str;
+ // }
+ // }
+ // }
+
+ // int size = excelTable.Columns.Count;
+ // for (int i = 0; i < size; i++)
+ // {
+ // wSheet.Cells[1, 1 + i] = excelTable.Columns[i].ColumnName;
+ // }
+ // //设置禁止弹出保存和覆盖的询问提示框
+ // app.DisplayAlerts = false;
+ // app.AlertBeforeOverwriting = false;
+ // //保存工作簿
+ // wBook.Save();
+ // //保存excel文件
+ // app.Save(filePath);
+ // app.SaveWorkspace(filePath);
+ // app.Quit();
+ // app = null;
+ return true;
+ // }
+ // catch (Exception err)
+ // {
+ // throw err;
+ // }
+ // finally
+ // {
+ // }
+ }
+ }
+}
diff --git a/Git.Storage.Common/Git.Storage.Common.csproj b/Git.Storage.Common/Git.Storage.Common.csproj
new file mode 100644
index 0000000..adf8d9c
--- /dev/null
+++ b/Git.Storage.Common/Git.Storage.Common.csproj
@@ -0,0 +1,108 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {7061BE81-6A7B-4773-8BEF-FAD51A88D522}
+ Library
+ Properties
+ Git.Storage.Common
+ Git.Storage.Common
+ v4.0
+ 512
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+ AnyCPU
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\Lib\Aspose.Cells.dll
+
+
+ ..\Lib\Git.Framework.DataTypes.dll
+
+
+ ..\Lib\Git.Framework.Json.dll
+
+
+ ..\Lib\NPOI.dll
+
+
+ ..\Lib\NPOI.OOXML.dll
+
+
+ ..\Lib\NPOI.OpenXml4Net.dll
+
+
+ ..\Lib\NPOI.OpenXmlFormats.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Git.Storage.Common/Git.Storage.Common.csproj.user b/Git.Storage.Common/Git.Storage.Common.csproj.user
new file mode 100644
index 0000000..07dbd5b
--- /dev/null
+++ b/Git.Storage.Common/Git.Storage.Common.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ ProjectFiles
+
+
\ No newline at end of file
diff --git a/Git.Storage.Common/Properties/AssemblyInfo.cs b/Git.Storage.Common/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..fb78996
--- /dev/null
+++ b/Git.Storage.Common/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下
+// 特性集控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Git.Storage.Common")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("workgroup")]
+[assembly: AssemblyProduct("Git.Storage.Common")]
+[assembly: AssemblyCopyright("Copyright © workgroup 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("e00cd1dc-fd2b-4911-9d69-c8c5e40abab0")]
+
+// 程序集的版本信息由下面四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
+// 方法是按如下所示使用“*”:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Git.Storage.Conversion/Admin_To.cs b/Git.Storage.Conversion/Admin_To.cs
new file mode 100644
index 0000000..14cab95
--- /dev/null
+++ b/Git.Storage.Conversion/Admin_To.cs
@@ -0,0 +1,82 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:43:19
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:43:19
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class Admin_To
+ {
+ public Admin_To()
+ {
+ }
+
+ public static AdminEntity To(Admin_CE item)
+ {
+ AdminEntity target = new AdminEntity();
+ target.ID=item.ID;
+ target.UserName=item.UserName;
+ target.PassWord=item.PassWord;
+ target.UserCode=item.UserCode;
+ target.RealName=item.RealName;
+ target.Email=item.Email;
+ target.Mobile=item.Mobile;
+ target.Phone=item.Phone;
+ target.CreateTime=item.CreateTime;
+ target.CreateIp=item.CreateIp;
+ target.CreateUser=item.CreateUser;
+ target.LoginCount=item.LoginCount;
+ target.Picture=item.Picture;
+ target.UpdateTime=item.UpdateTime;
+ target.IsDelete=item.IsDelete;
+ target.Status=item.Status;
+ target.DepartNum=item.DepartNum;
+ target.ParentCode=item.ParentCode;
+ target.RoleNum=item.RoleNum;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static Admin_CE ToCE(AdminEntity item)
+ {
+ Admin_CE target = new Admin_CE();
+ target.ID=item.ID;
+ target.UserName=item.UserName;
+ target.PassWord=item.PassWord;
+ target.UserCode=item.UserCode;
+ target.RealName=item.RealName;
+ target.Email=item.Email;
+ target.Mobile=item.Mobile;
+ target.Phone=item.Phone;
+ target.CreateTime=item.CreateTime;
+ target.CreateIp=item.CreateIp;
+ target.CreateUser=item.CreateUser;
+ target.LoginCount=item.LoginCount;
+ target.Picture=item.Picture;
+ target.UpdateTime=item.UpdateTime;
+ target.IsDelete=item.IsDelete;
+ target.Status=item.Status;
+ target.DepartNum=item.DepartNum;
+ target.ParentCode=item.ParentCode;
+ target.RoleNum=item.RoleNum;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/BadReportDetail_To.cs b/Git.Storage.Conversion/BadReportDetail_To.cs
new file mode 100644
index 0000000..8db939c
--- /dev/null
+++ b/Git.Storage.Conversion/BadReportDetail_To.cs
@@ -0,0 +1,70 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:54
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:54
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Bad;
+
+namespace Git.Storage.Conversion
+{
+ public partial class BadReportDetail_To
+ {
+ public BadReportDetail_To()
+ {
+ }
+
+ public static BadReportDetailEntity To(BadReportDetail_CE item)
+ {
+ BadReportDetailEntity target = new BadReportDetailEntity();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.Num=item.Num;
+ target.InPrice=item.InPrice;
+ target.Amount=item.Amount;
+ target.CreateTime=item.CreateTime;
+ target.StorageNum=item.StorageNum;
+ target.FromLocalNum=item.FromLocalNum;
+ target.ToLocalNum=item.ToLocalNum;
+ return target;
+ }
+
+ public static BadReportDetail_CE ToCE(BadReportDetailEntity item)
+ {
+ BadReportDetail_CE target = new BadReportDetail_CE();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.Num=item.Num;
+ target.InPrice=item.InPrice;
+ target.Amount=item.Amount;
+ target.CreateTime=item.CreateTime;
+ target.StorageNum=item.StorageNum;
+ target.FromLocalNum=item.FromLocalNum;
+ target.ToLocalNum=item.ToLocalNum;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/BadReport_To.cs b/Git.Storage.Conversion/BadReport_To.cs
new file mode 100644
index 0000000..9393b95
--- /dev/null
+++ b/Git.Storage.Conversion/BadReport_To.cs
@@ -0,0 +1,84 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:49
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:49
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Bad;
+
+namespace Git.Storage.Conversion
+{
+ public partial class BadReport_To
+ {
+ public BadReport_To()
+ {
+ }
+
+ public static BadReportEntity To(BadReport_CE item)
+ {
+ BadReportEntity target = new BadReportEntity();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.BadType=item.BadType;
+ target.ProductType=item.ProductType;
+ target.ContractOrder=item.ContractOrder;
+ target.Status=item.Status;
+ target.Num=item.Num;
+ target.Amount=item.Amount;
+ target.Weight=item.Weight;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static BadReport_CE ToCE(BadReportEntity item)
+ {
+ BadReport_CE target = new BadReport_CE();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.BadType=item.BadType;
+ target.ProductType=item.ProductType;
+ target.ContractOrder=item.ContractOrder;
+ target.Status=item.Status;
+ target.Num=item.Num;
+ target.Amount=item.Amount;
+ target.Weight=item.Weight;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/CheckData_To.cs b/Git.Storage.Conversion/CheckData_To.cs
new file mode 100644
index 0000000..109847b
--- /dev/null
+++ b/Git.Storage.Conversion/CheckData_To.cs
@@ -0,0 +1,72 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:20
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:20
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.Conversion
+{
+ public partial class CheckData_To
+ {
+ public CheckData_To()
+ {
+ }
+
+ public static CheckDataEntity To(CheckData_CE item)
+ {
+ CheckDataEntity target = new CheckDataEntity();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.LocalNum=item.LocalNum;
+ target.LocalName=item.LocalName;
+ target.StorageNum=item.StorageNum;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.LocalQty=item.LocalQty;
+ target.FirstQty=item.FirstQty;
+ target.SecondQty=item.SecondQty;
+ target.DifQty=item.DifQty;
+ target.FirstUser=item.FirstUser;
+ target.SecondUser=item.SecondUser;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+
+ public static CheckData_CE ToCE(CheckDataEntity item)
+ {
+ CheckData_CE target = new CheckData_CE();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.LocalNum=item.LocalNum;
+ target.LocalName=item.LocalName;
+ target.StorageNum=item.StorageNum;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.LocalQty=item.LocalQty;
+ target.FirstQty=item.FirstQty;
+ target.SecondQty=item.SecondQty;
+ target.DifQty=item.DifQty;
+ target.FirstUser=item.FirstUser;
+ target.SecondUser=item.SecondUser;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/CheckStockInfo_To.cs b/Git.Storage.Conversion/CheckStockInfo_To.cs
new file mode 100644
index 0000000..822de9b
--- /dev/null
+++ b/Git.Storage.Conversion/CheckStockInfo_To.cs
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:05
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:05
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.Conversion
+{
+ public partial class CheckStockInfo_To
+ {
+ public CheckStockInfo_To()
+ {
+ }
+
+ public static CheckStockInfoEntity To(CheckStockInfo_CE item)
+ {
+ CheckStockInfoEntity target = new CheckStockInfoEntity();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.StorageNum=item.StorageNum;
+ target.TargetNum=item.TargetNum;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+
+ public static CheckStockInfo_CE ToCE(CheckStockInfoEntity item)
+ {
+ CheckStockInfo_CE target = new CheckStockInfo_CE();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.StorageNum=item.StorageNum;
+ target.TargetNum=item.TargetNum;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/CheckStock_To.cs b/Git.Storage.Conversion/CheckStock_To.cs
new file mode 100644
index 0000000..d39cb7c
--- /dev/null
+++ b/Git.Storage.Conversion/CheckStock_To.cs
@@ -0,0 +1,84 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:01
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:01
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.Conversion
+{
+ public partial class CheckStock_To
+ {
+ public CheckStock_To()
+ {
+ }
+
+ public static CheckStockEntity To(CheckStock_CE item)
+ {
+ CheckStockEntity target = new CheckStockEntity();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.Type=item.Type;
+ target.ProductType=item.ProductType;
+ target.ContractOrder=item.ContractOrder;
+ target.Status=item.Status;
+ target.LocalQty=item.LocalQty;
+ target.CheckQty=item.CheckQty;
+ target.IsDelete=item.IsDelete;
+ target.IsComplete=item.IsComplete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static CheckStock_CE ToCE(CheckStockEntity item)
+ {
+ CheckStock_CE target = new CheckStock_CE();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.Type=item.Type;
+ target.ProductType=item.ProductType;
+ target.ContractOrder=item.ContractOrder;
+ target.Status=item.Status;
+ target.LocalQty=item.LocalQty;
+ target.CheckQty=item.CheckQty;
+ target.IsDelete=item.IsDelete;
+ target.IsComplete=item.IsComplete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/CloneHistory_To.cs b/Git.Storage.Conversion/CloneHistory_To.cs
new file mode 100644
index 0000000..b0e8fc6
--- /dev/null
+++ b/Git.Storage.Conversion/CloneHistory_To.cs
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:33
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:33
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.Conversion
+{
+ public partial class CloneHistory_To
+ {
+ public CloneHistory_To()
+ {
+ }
+
+ public static CloneHistoryEntity To(CloneHistory_CE item)
+ {
+ CloneHistoryEntity target = new CloneHistoryEntity();
+ target.CloneID=item.CloneID;
+ target.OrderNum=item.OrderNum;
+ target.ID=item.ID;
+ target.Sn=item.Sn;
+ target.StorageNum=item.StorageNum;
+ target.StorageName=item.StorageName;
+ target.LocalNum=item.LocalNum;
+ target.LocalName=item.LocalName;
+ target.LocalType=item.LocalType;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.Num=item.Num;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.CreateName=item.CreateName;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static CloneHistory_CE ToCE(CloneHistoryEntity item)
+ {
+ CloneHistory_CE target = new CloneHistory_CE();
+ target.CloneID=item.CloneID;
+ target.OrderNum=item.OrderNum;
+ target.ID=item.ID;
+ target.Sn=item.Sn;
+ target.StorageNum=item.StorageNum;
+ target.StorageName=item.StorageName;
+ target.LocalNum=item.LocalNum;
+ target.LocalName=item.LocalName;
+ target.LocalType=item.LocalType;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.Num=item.Num;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.CreateName=item.CreateName;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/CloneTemp_To.cs b/Git.Storage.Conversion/CloneTemp_To.cs
new file mode 100644
index 0000000..cc25af6
--- /dev/null
+++ b/Git.Storage.Conversion/CloneTemp_To.cs
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:25
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:25
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.Conversion
+{
+ public partial class CloneTemp_To
+ {
+ public CloneTemp_To()
+ {
+ }
+
+ public static CloneTempEntity To(CloneTemp_CE item)
+ {
+ CloneTempEntity target = new CloneTempEntity();
+ target.CloneID=item.CloneID;
+ target.OrderNum=item.OrderNum;
+ target.ID=item.ID;
+ target.Sn=item.Sn;
+ target.StorageNum=item.StorageNum;
+ target.StorageName=item.StorageName;
+ target.LocalNum=item.LocalNum;
+ target.LocalName=item.LocalName;
+ target.LocalType=item.LocalType;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.Num=item.Num;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.CreateName=item.CreateName;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static CloneTemp_CE ToCE(CloneTempEntity item)
+ {
+ CloneTemp_CE target = new CloneTemp_CE();
+ target.CloneID=item.CloneID;
+ target.OrderNum=item.OrderNum;
+ target.ID=item.ID;
+ target.Sn=item.Sn;
+ target.StorageNum=item.StorageNum;
+ target.StorageName=item.StorageName;
+ target.LocalNum=item.LocalNum;
+ target.LocalName=item.LocalName;
+ target.LocalType=item.LocalType;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.Num=item.Num;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.CreateName=item.CreateName;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/CusAddress_To.cs b/Git.Storage.Conversion/CusAddress_To.cs
new file mode 100644
index 0000000..3bea7dc
--- /dev/null
+++ b/Git.Storage.Conversion/CusAddress_To.cs
@@ -0,0 +1,62 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:43:15
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:43:15
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class CusAddress_To
+ {
+ public CusAddress_To()
+ {
+ }
+
+ public static CusAddressEntity To(CusAddress_CE item)
+ {
+ CusAddressEntity target = new CusAddressEntity();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.CusNum=item.CusNum;
+ target.Contact=item.Contact;
+ target.Phone=item.Phone;
+ target.Address=item.Address;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static CusAddress_CE ToCE(CusAddressEntity item)
+ {
+ CusAddress_CE target = new CusAddress_CE();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.CusNum=item.CusNum;
+ target.Contact=item.Contact;
+ target.Phone=item.Phone;
+ target.Address=item.Address;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Customer_To.cs b/Git.Storage.Conversion/Customer_To.cs
new file mode 100644
index 0000000..0752149
--- /dev/null
+++ b/Git.Storage.Conversion/Customer_To.cs
@@ -0,0 +1,66 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:58
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:58
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class Customer_To
+ {
+ public Customer_To()
+ {
+ }
+
+ public static CustomerEntity To(Customer_CE item)
+ {
+ CustomerEntity target = new CustomerEntity();
+ target.ID=item.ID;
+ target.CusNum=item.CusNum;
+ target.CusName=item.CusName;
+ target.Phone=item.Phone;
+ target.Email=item.Email;
+ target.Fax=item.Fax;
+ target.Address=item.Address;
+ target.CusType=item.CusType;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static Customer_CE ToCE(CustomerEntity item)
+ {
+ Customer_CE target = new Customer_CE();
+ target.ID=item.ID;
+ target.CusNum=item.CusNum;
+ target.CusName=item.CusName;
+ target.Phone=item.Phone;
+ target.Email=item.Email;
+ target.Fax=item.Fax;
+ target.Address=item.Address;
+ target.CusType=item.CusType;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Equipment_To.cs b/Git.Storage.Conversion/Equipment_To.cs
new file mode 100644
index 0000000..be0fe8f
--- /dev/null
+++ b/Git.Storage.Conversion/Equipment_To.cs
@@ -0,0 +1,64 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:38
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:38
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class Equipment_To
+ {
+ public Equipment_To()
+ {
+ }
+
+ public static EquipmentEntity To(Equipment_CE item)
+ {
+ EquipmentEntity target = new EquipmentEntity();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.EquipmentName=item.EquipmentName;
+ target.EquipmentNum=item.EquipmentNum;
+ target.IsImpower=item.IsImpower;
+ target.Flag=item.Flag;
+ target.IsDelete=item.IsDelete;
+ target.Status=item.Status;
+ target.CreateUser=item.CreateUser;
+ target.CreateTime=item.CreateTime;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static Equipment_CE ToCE(EquipmentEntity item)
+ {
+ Equipment_CE target = new Equipment_CE();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.EquipmentName=item.EquipmentName;
+ target.EquipmentNum=item.EquipmentNum;
+ target.IsImpower=item.IsImpower;
+ target.Flag=item.Flag;
+ target.IsDelete=item.IsDelete;
+ target.Status=item.Status;
+ target.CreateUser=item.CreateUser;
+ target.CreateTime=item.CreateTime;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Git.Storage.Conversion.csproj b/Git.Storage.Conversion/Git.Storage.Conversion.csproj
new file mode 100644
index 0000000..cbd9f38
--- /dev/null
+++ b/Git.Storage.Conversion/Git.Storage.Conversion.csproj
@@ -0,0 +1,100 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {EAB2069E-C9EA-4439-B727-BA838A4A75AC}
+ Library
+ Properties
+ Git.Storage.Conversion
+ Git.Storage.Conversion
+ v4.0
+ 512
+
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\Lib\Git.Framework.ORM.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {62f1847e-3906-43da-a80f-9977fb31f5ea}
+ Git.Storage.Entity
+
+
+ {9ee98186-11fd-4501-be4b-98be0dcbae1e}
+ Git.Storage.RoseEntity
+
+
+
+
+
\ No newline at end of file
diff --git a/Git.Storage.Conversion/InStorDetail_To.cs b/Git.Storage.Conversion/InStorDetail_To.cs
new file mode 100644
index 0000000..0ae3de0
--- /dev/null
+++ b/Git.Storage.Conversion/InStorDetail_To.cs
@@ -0,0 +1,72 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:46:32
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:46:32
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.InStorage;
+
+namespace Git.Storage.Conversion
+{
+ public partial class InStorDetail_To
+ {
+ public InStorDetail_To()
+ {
+ }
+
+ public static InStorDetailEntity To(InStorDetail_CE item)
+ {
+ InStorDetailEntity target = new InStorDetailEntity();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.Num=item.Num;
+ target.IsPick=item.IsPick;
+ target.RealNum=item.RealNum;
+ target.InPrice=item.InPrice;
+ target.Amount=item.Amount;
+ target.CreateTime=item.CreateTime;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ return target;
+ }
+
+ public static InStorDetail_CE ToCE(InStorDetailEntity item)
+ {
+ InStorDetail_CE target = new InStorDetail_CE();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.Num=item.Num;
+ target.IsPick=item.IsPick;
+ target.RealNum=item.RealNum;
+ target.InPrice=item.InPrice;
+ target.Amount=item.Amount;
+ target.CreateTime=item.CreateTime;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/InStorSingle_To.cs b/Git.Storage.Conversion/InStorSingle_To.cs
new file mode 100644
index 0000000..597e23f
--- /dev/null
+++ b/Git.Storage.Conversion/InStorSingle_To.cs
@@ -0,0 +1,66 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:46:36
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:46:36
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.InStorage;
+
+namespace Git.Storage.Conversion
+{
+ public partial class InStorSingle_To
+ {
+ public InStorSingle_To()
+ {
+ }
+
+ public static InStorSingleEntity To(InStorSingle_CE item)
+ {
+ InStorSingleEntity target = new InStorSingleEntity();
+ target.ID=item.ID;
+ target.DetailNum=item.DetailNum;
+ target.InStorNum=item.InStorNum;
+ target.SingleNum=item.SingleNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.InPrice=item.InPrice;
+ target.BatchNum=item.BatchNum;
+ target.CreateTime=item.CreateTime;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ return target;
+ }
+
+ public static InStorSingle_CE ToCE(InStorSingleEntity item)
+ {
+ InStorSingle_CE target = new InStorSingle_CE();
+ target.ID=item.ID;
+ target.DetailNum=item.DetailNum;
+ target.InStorNum=item.InStorNum;
+ target.SingleNum=item.SingleNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.InPrice=item.InPrice;
+ target.BatchNum=item.BatchNum;
+ target.CreateTime=item.CreateTime;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/InStorage_To.cs b/Git.Storage.Conversion/InStorage_To.cs
new file mode 100644
index 0000000..6f58c11
--- /dev/null
+++ b/Git.Storage.Conversion/InStorage_To.cs
@@ -0,0 +1,102 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:46:26
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:46:26
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.InStorage;
+
+namespace Git.Storage.Conversion
+{
+ public partial class InStorage_To
+ {
+ public InStorage_To()
+ {
+ }
+
+ public static InStorageEntity To(InStorage_CE item)
+ {
+ InStorageEntity target = new InStorageEntity();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.InType=item.InType;
+ target.ProductType=item.ProductType;
+ target.SupNum=item.SupNum;
+ target.SupName=item.SupName;
+ target.ContactName=item.ContactName;
+ target.Phone=item.Phone;
+ target.Address=item.Address;
+ target.ContractOrder=item.ContractOrder;
+ target.ContractType=item.ContractType;
+ target.Status=item.Status;
+ target.IsDelete=item.IsDelete;
+ target.Num=item.Num;
+ target.Amount=item.Amount;
+ target.NetWeight=item.NetWeight;
+ target.GrossWeight=item.GrossWeight;
+ target.OrderTime=item.OrderTime;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.StoreKeeper=item.StoreKeeper;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static InStorage_CE ToCE(InStorageEntity item)
+ {
+ InStorage_CE target = new InStorage_CE();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.InType=item.InType;
+ target.ProductType=item.ProductType;
+ target.SupNum=item.SupNum;
+ target.SupName=item.SupName;
+ target.ContactName=item.ContactName;
+ target.Phone=item.Phone;
+ target.Address=item.Address;
+ target.ContractOrder=item.ContractOrder;
+ target.ContractType=item.ContractType;
+ target.Status=item.Status;
+ target.IsDelete=item.IsDelete;
+ target.Num=item.Num;
+ target.Amount=item.Amount;
+ target.NetWeight=item.NetWeight;
+ target.GrossWeight=item.GrossWeight;
+ target.OrderTime=item.OrderTime;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.StoreKeeper=item.StoreKeeper;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/InventoryBook_To.cs b/Git.Storage.Conversion/InventoryBook_To.cs
new file mode 100644
index 0000000..c325473
--- /dev/null
+++ b/Git.Storage.Conversion/InventoryBook_To.cs
@@ -0,0 +1,66 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:33
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:33
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class InventoryBook_To
+ {
+ public InventoryBook_To()
+ {
+ }
+
+ public static InventoryBookEntity To(InventoryBook_CE item)
+ {
+ InventoryBookEntity target = new InventoryBookEntity();
+ target.ID=item.ID;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.Num=item.Num;
+ target.Type=item.Type;
+ target.ContactOrder=item.ContactOrder;
+ target.FromLocalNum=item.FromLocalNum;
+ target.ToLocalNum=item.ToLocalNum;
+ target.StoreNum=item.StoreNum;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ return target;
+ }
+
+ public static InventoryBook_CE ToCE(InventoryBookEntity item)
+ {
+ InventoryBook_CE target = new InventoryBook_CE();
+ target.ID=item.ID;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.Num=item.Num;
+ target.Type=item.Type;
+ target.ContactOrder=item.ContactOrder;
+ target.FromLocalNum=item.FromLocalNum;
+ target.ToLocalNum=item.ToLocalNum;
+ target.StoreNum=item.StoreNum;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/LocalProduct_To.cs b/Git.Storage.Conversion/LocalProduct_To.cs
new file mode 100644
index 0000000..2de4fc4
--- /dev/null
+++ b/Git.Storage.Conversion/LocalProduct_To.cs
@@ -0,0 +1,72 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:25
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:25
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class LocalProduct_To
+ {
+ public LocalProduct_To()
+ {
+ }
+
+ public static LocalProductEntity To(LocalProduct_CE item)
+ {
+ LocalProductEntity target = new LocalProductEntity();
+ target.ID=item.ID;
+ target.Sn=item.Sn;
+ target.StorageNum=item.StorageNum;
+ target.StorageName=item.StorageName;
+ target.LocalNum=item.LocalNum;
+ target.LocalName=item.LocalName;
+ target.LocalType=item.LocalType;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.Num=item.Num;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.CreateName=item.CreateName;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static LocalProduct_CE ToCE(LocalProductEntity item)
+ {
+ LocalProduct_CE target = new LocalProduct_CE();
+ target.ID=item.ID;
+ target.Sn=item.Sn;
+ target.StorageNum=item.StorageNum;
+ target.StorageName=item.StorageName;
+ target.LocalNum=item.LocalNum;
+ target.LocalName=item.LocalName;
+ target.LocalType=item.LocalType;
+ target.ProductNum=item.ProductNum;
+ target.BarCode=item.BarCode;
+ target.ProductName=item.ProductName;
+ target.Num=item.Num;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.CreateName=item.CreateName;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Location_To.cs b/Git.Storage.Conversion/Location_To.cs
new file mode 100644
index 0000000..6a5ef04
--- /dev/null
+++ b/Git.Storage.Conversion/Location_To.cs
@@ -0,0 +1,84 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:30
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:30
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class Location_To
+ {
+ public Location_To()
+ {
+ }
+
+ public static LocationEntity To(Location_CE item)
+ {
+ LocationEntity target = new LocationEntity();
+ target.ID=item.ID;
+ target.LocalNum=item.LocalNum;
+ target.LocalBarCode=item.LocalBarCode;
+ target.LocalName=item.LocalName;
+ target.StorageNum=item.StorageNum;
+ target.StorageType=item.StorageType;
+ target.LocalType=item.LocalType;
+ target.Rack=item.Rack;
+ target.Length=item.Length;
+ target.Width=item.Width;
+ target.Height=item.Height;
+ target.X=item.X;
+ target.Y=item.Y;
+ target.Z=item.Z;
+ target.Unit=item.Unit;
+ target.UnitName=item.UnitName;
+ target.Remark=item.Remark;
+ target.IsForbid=item.IsForbid;
+ target.IsDefault=item.IsDefault;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+
+ public static Location_CE ToCE(LocationEntity item)
+ {
+ Location_CE target = new Location_CE();
+ target.ID=item.ID;
+ target.LocalNum=item.LocalNum;
+ target.LocalBarCode=item.LocalBarCode;
+ target.LocalName=item.LocalName;
+ target.StorageNum=item.StorageNum;
+ target.StorageType=item.StorageType;
+ target.LocalType=item.LocalType;
+ target.Rack=item.Rack;
+ target.Length=item.Length;
+ target.Width=item.Width;
+ target.Height=item.Height;
+ target.X=item.X;
+ target.Y=item.Y;
+ target.Z=item.Z;
+ target.Unit=item.Unit;
+ target.UnitName=item.UnitName;
+ target.Remark=item.Remark;
+ target.IsForbid=item.IsForbid;
+ target.IsDefault=item.IsDefault;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/MeasureRel_To.cs b/Git.Storage.Conversion/MeasureRel_To.cs
new file mode 100644
index 0000000..2cde1e1
--- /dev/null
+++ b/Git.Storage.Conversion/MeasureRel_To.cs
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:01:01
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:01:01
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class MeasureRel_To
+ {
+ public MeasureRel_To()
+ {
+ }
+
+ public static MeasureRelEntity To(MeasureRel_CE item)
+ {
+ MeasureRelEntity target = new MeasureRelEntity();
+ target.ID=item.ID;
+ target.SN=item.SN;
+ target.MeasureSource=item.MeasureSource;
+ target.MeasureTarget=item.MeasureTarget;
+ target.Rate=item.Rate;
+ return target;
+ }
+
+ public static MeasureRel_CE ToCE(MeasureRelEntity item)
+ {
+ MeasureRel_CE target = new MeasureRel_CE();
+ target.ID=item.ID;
+ target.SN=item.SN;
+ target.MeasureSource=item.MeasureSource;
+ target.MeasureTarget=item.MeasureTarget;
+ target.Rate=item.Rate;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Measure_To.cs b/Git.Storage.Conversion/Measure_To.cs
new file mode 100644
index 0000000..57eea63
--- /dev/null
+++ b/Git.Storage.Conversion/Measure_To.cs
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:00:56
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:00:56
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class Measure_To
+ {
+ public Measure_To()
+ {
+ }
+
+ public static MeasureEntity To(Measure_CE item)
+ {
+ MeasureEntity target = new MeasureEntity();
+ target.ID=item.ID;
+ target.SN=item.SN;
+ target.MeasureNum=item.MeasureNum;
+ target.MeasureName=item.MeasureName;
+ return target;
+ }
+
+ public static Measure_CE ToCE(MeasureEntity item)
+ {
+ Measure_CE target = new Measure_CE();
+ target.ID=item.ID;
+ target.SN=item.SN;
+ target.MeasureNum=item.MeasureNum;
+ target.MeasureName=item.MeasureName;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/MoveOrderDetail_To.cs b/Git.Storage.Conversion/MoveOrderDetail_To.cs
new file mode 100644
index 0000000..ec437e1
--- /dev/null
+++ b/Git.Storage.Conversion/MoveOrderDetail_To.cs
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:43
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:43
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Move;
+
+namespace Git.Storage.Conversion
+{
+ public partial class MoveOrderDetail_To
+ {
+ public MoveOrderDetail_To()
+ {
+ }
+
+ public static MoveOrderDetailEntity To(MoveOrderDetail_CE item)
+ {
+ MoveOrderDetailEntity target = new MoveOrderDetailEntity();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.Num=item.Num;
+ target.InPrice=item.InPrice;
+ target.Amout=item.Amout;
+ target.IsPick=item.IsPick;
+ target.RealNum=item.RealNum;
+ target.CreateTime=item.CreateTime;
+ target.StorageNum=item.StorageNum;
+ target.FromLocalNum=item.FromLocalNum;
+ target.ToLocalNum=item.ToLocalNum;
+ return target;
+ }
+
+ public static MoveOrderDetail_CE ToCE(MoveOrderDetailEntity item)
+ {
+ MoveOrderDetail_CE target = new MoveOrderDetail_CE();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.Num=item.Num;
+ target.InPrice=item.InPrice;
+ target.Amout=item.Amout;
+ target.IsPick=item.IsPick;
+ target.RealNum=item.RealNum;
+ target.CreateTime=item.CreateTime;
+ target.StorageNum=item.StorageNum;
+ target.FromLocalNum=item.FromLocalNum;
+ target.ToLocalNum=item.ToLocalNum;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/MoveOrder_To.cs b/Git.Storage.Conversion/MoveOrder_To.cs
new file mode 100644
index 0000000..380148f
--- /dev/null
+++ b/Git.Storage.Conversion/MoveOrder_To.cs
@@ -0,0 +1,84 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:47:37
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:47:37
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Move;
+
+namespace Git.Storage.Conversion
+{
+ public partial class MoveOrder_To
+ {
+ public MoveOrder_To()
+ {
+ }
+
+ public static MoveOrderEntity To(MoveOrder_CE item)
+ {
+ MoveOrderEntity target = new MoveOrderEntity();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.MoveType=item.MoveType;
+ target.ProductType=item.ProductType;
+ target.ContractOrder=item.ContractOrder;
+ target.Status=item.Status;
+ target.IsDelete=item.IsDelete;
+ target.Num=item.Num;
+ target.Amout=item.Amout;
+ target.Weight=item.Weight;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static MoveOrder_CE ToCE(MoveOrderEntity item)
+ {
+ MoveOrder_CE target = new MoveOrder_CE();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.MoveType=item.MoveType;
+ target.ProductType=item.ProductType;
+ target.ContractOrder=item.ContractOrder;
+ target.Status=item.Status;
+ target.IsDelete=item.IsDelete;
+ target.Num=item.Num;
+ target.Amout=item.Amout;
+ target.Weight=item.Weight;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/OutStoDetail_To.cs b/Git.Storage.Conversion/OutStoDetail_To.cs
new file mode 100644
index 0000000..18a465b
--- /dev/null
+++ b/Git.Storage.Conversion/OutStoDetail_To.cs
@@ -0,0 +1,72 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:46:44
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:46:44
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.OutStorage;
+
+namespace Git.Storage.Conversion
+{
+ public partial class OutStoDetail_To
+ {
+ public OutStoDetail_To()
+ {
+ }
+
+ public static OutStoDetailEntity To(OutStoDetail_CE item)
+ {
+ OutStoDetailEntity target = new OutStoDetailEntity();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ target.Num=item.Num;
+ target.IsPick=item.IsPick;
+ target.RealNum=item.RealNum;
+ target.OutPrice=item.OutPrice;
+ target.Amount=item.Amount;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+
+ public static OutStoDetail_CE ToCE(OutStoDetailEntity item)
+ {
+ OutStoDetail_CE target = new OutStoDetail_CE();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ target.Num=item.Num;
+ target.IsPick=item.IsPick;
+ target.RealNum=item.RealNum;
+ target.OutPrice=item.OutPrice;
+ target.Amount=item.Amount;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/OutStorSingle_To.cs b/Git.Storage.Conversion/OutStorSingle_To.cs
new file mode 100644
index 0000000..893e98c
--- /dev/null
+++ b/Git.Storage.Conversion/OutStorSingle_To.cs
@@ -0,0 +1,66 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:46:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:46:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.OutStorage;
+
+namespace Git.Storage.Conversion
+{
+ public partial class OutStorSingle_To
+ {
+ public OutStorSingle_To()
+ {
+ }
+
+ public static OutStorSingleEntity To(OutStorSingle_CE item)
+ {
+ OutStorSingleEntity target = new OutStorSingleEntity();
+ target.ID=item.ID;
+ target.DetailNum=item.DetailNum;
+ target.OutStorNum=item.OutStorNum;
+ target.SingleNum=item.SingleNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.Price=item.Price;
+ target.CreateTime=item.CreateTime;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ target.BatchNum=item.BatchNum;
+ return target;
+ }
+
+ public static OutStorSingle_CE ToCE(OutStorSingleEntity item)
+ {
+ OutStorSingle_CE target = new OutStorSingle_CE();
+ target.ID=item.ID;
+ target.DetailNum=item.DetailNum;
+ target.OutStorNum=item.OutStorNum;
+ target.SingleNum=item.SingleNum;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.Price=item.Price;
+ target.CreateTime=item.CreateTime;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ target.BatchNum=item.BatchNum;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/OutStorage_To.cs b/Git.Storage.Conversion/OutStorage_To.cs
new file mode 100644
index 0000000..4270d29
--- /dev/null
+++ b/Git.Storage.Conversion/OutStorage_To.cs
@@ -0,0 +1,96 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:46:41
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:46:41
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.OutStorage;
+
+namespace Git.Storage.Conversion
+{
+ public partial class OutStorage_To
+ {
+ public OutStorage_To()
+ {
+ }
+
+ public static OutStorageEntity To(OutStorage_CE item)
+ {
+ OutStorageEntity target = new OutStorageEntity();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.OutType=item.OutType;
+ target.ProductType=item.ProductType;
+ target.CusNum=item.CusNum;
+ target.CusName=item.CusName;
+ target.Contact=item.Contact;
+ target.Phone=item.Phone;
+ target.Address=item.Address;
+ target.ContractOrder=item.ContractOrder;
+ target.Num=item.Num;
+ target.Amount=item.Amount;
+ target.Weight=item.Weight;
+ target.SendDate=item.SendDate;
+ target.Status=item.Status;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static OutStorage_CE ToCE(OutStorageEntity item)
+ {
+ OutStorage_CE target = new OutStorage_CE();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.OutType=item.OutType;
+ target.ProductType=item.ProductType;
+ target.CusNum=item.CusNum;
+ target.CusName=item.CusName;
+ target.Contact=item.Contact;
+ target.Phone=item.Phone;
+ target.Address=item.Address;
+ target.ContractOrder=item.ContractOrder;
+ target.Num=item.Num;
+ target.Amount=item.Amount;
+ target.Weight=item.Weight;
+ target.SendDate=item.SendDate;
+ target.Status=item.Status;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/ProductCategory_To.cs b/Git.Storage.Conversion/ProductCategory_To.cs
new file mode 100644
index 0000000..f6cb9f6
--- /dev/null
+++ b/Git.Storage.Conversion/ProductCategory_To.cs
@@ -0,0 +1,56 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:43:45
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:43:45
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class ProductCategory_To
+ {
+ public ProductCategory_To()
+ {
+ }
+
+ public static ProductCategoryEntity To(ProductCategory_CE item)
+ {
+ ProductCategoryEntity target = new ProductCategoryEntity();
+ target.ID=item.ID;
+ target.CateNum=item.CateNum;
+ target.CateName=item.CateName;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static ProductCategory_CE ToCE(ProductCategoryEntity item)
+ {
+ ProductCategory_CE target = new ProductCategory_CE();
+ target.ID=item.ID;
+ target.CateNum=item.CateNum;
+ target.CateName=item.CateName;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Product_To.cs b/Git.Storage.Conversion/Product_To.cs
new file mode 100644
index 0000000..c5927fe
--- /dev/null
+++ b/Git.Storage.Conversion/Product_To.cs
@@ -0,0 +1,100 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:44:12
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:44:12
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class Product_To
+ {
+ public Product_To()
+ {
+ }
+
+ public static ProductEntity To(Product_CE item)
+ {
+ ProductEntity target = new ProductEntity();
+ target.ID = item.ID;
+ target.SnNum = item.SnNum;
+ target.BarCode = item.BarCode;
+ target.ProductName = item.ProductName;
+ target.Num = item.Num;
+ target.MinNum = item.MinNum;
+ target.MaxNum = item.MaxNum;
+ target.UnitNum = item.UnitNum;
+ target.UnitName = item.UnitName;
+ target.CateNum = item.CateNum;
+ target.CateName = item.CateName;
+ target.Size = item.Size;
+ target.Color = item.Color;
+ target.InPrice = item.InPrice;
+ target.OutPrice = item.OutPrice;
+ target.AvgPrice = item.AvgPrice;
+ target.NetWeight = item.NetWeight;
+ target.GrossWeight = item.GrossWeight;
+ target.Description = item.Description;
+ target.PicUrl = item.PicUrl;
+ target.IsDelete = item.IsDelete;
+ target.CreateTime = item.CreateTime;
+ target.CreateUser = item.CreateUser;
+ target.StorageNum = item.StorageNum;
+ target.DefaultLocal = item.DefaultLocal;
+ target.CusNum = item.CusNum;
+ target.CusName = item.CusName;
+ target.Display = item.Display;
+ target.Remark = item.Remark;
+ return target;
+ }
+
+ public static Product_CE ToCE(ProductEntity item)
+ {
+ Product_CE target = new Product_CE();
+ target.ID = item.ID;
+ target.SnNum = item.SnNum;
+ target.BarCode = item.BarCode;
+ target.ProductName = item.ProductName;
+ target.Num = item.Num;
+ target.MinNum = item.MinNum;
+ target.MaxNum = item.MaxNum;
+ target.UnitNum = item.UnitNum;
+ target.UnitName = item.UnitName;
+ target.CateNum = item.CateNum;
+ target.CateName = item.CateName;
+ target.Size = item.Size;
+ target.Color = item.Color;
+ target.InPrice = item.InPrice;
+ target.OutPrice = item.OutPrice;
+ target.AvgPrice = item.AvgPrice;
+ target.NetWeight = item.NetWeight;
+ target.GrossWeight = item.GrossWeight;
+ target.Description = item.Description;
+ target.PicUrl = item.PicUrl;
+ target.IsDelete = item.IsDelete;
+ target.CreateTime = item.CreateTime;
+ target.CreateUser = item.CreateUser;
+ target.StorageNum = item.StorageNum;
+ target.DefaultLocal = item.DefaultLocal;
+ target.CusNum = item.CusNum;
+ target.CusName = item.CusName;
+ target.Display = item.Display;
+ target.Remark = item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Properties/AssemblyInfo.cs b/Git.Storage.Conversion/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..96b5487
--- /dev/null
+++ b/Git.Storage.Conversion/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下
+// 特性集控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Git.Storage.Conversion")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Git.Storage.Conversion")]
+[assembly: AssemblyCopyright("Copyright © 2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("ce67a820-e941-4170-9645-dd4e556da42b")]
+
+// 程序集的版本信息由下面四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
+// 方法是按如下所示使用“*”:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Git.Storage.Conversion/ReturnDetail_To.cs b/Git.Storage.Conversion/ReturnDetail_To.cs
new file mode 100644
index 0000000..2983f66
--- /dev/null
+++ b/Git.Storage.Conversion/ReturnDetail_To.cs
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:12
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:12
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Return;
+
+namespace Git.Storage.Conversion
+{
+ public partial class ReturnDetail_To
+ {
+ public ReturnDetail_To()
+ {
+ }
+
+ public static ReturnDetailEntity To(ReturnDetail_CE item)
+ {
+ ReturnDetailEntity target = new ReturnDetailEntity();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ContractOrder=item.ContractOrder;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ target.Num=item.Num;
+ target.OutPrice=item.OutPrice;
+ target.Amount=item.Amount;
+ target.BackNum=item.BackNum;
+ target.BackAmount=item.BackAmount;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+
+ public static ReturnDetail_CE ToCE(ReturnDetailEntity item)
+ {
+ ReturnDetail_CE target = new ReturnDetail_CE();
+ target.ID=item.ID;
+ target.SnNum=item.SnNum;
+ target.OrderNum=item.OrderNum;
+ target.ContractOrder=item.ContractOrder;
+ target.ProductName=item.ProductName;
+ target.BarCode=item.BarCode;
+ target.ProductNum=item.ProductNum;
+ target.BatchNum=item.BatchNum;
+ target.LocalNum=item.LocalNum;
+ target.StorageNum=item.StorageNum;
+ target.Num=item.Num;
+ target.OutPrice=item.OutPrice;
+ target.Amount=item.Amount;
+ target.BackNum=item.BackNum;
+ target.BackAmount=item.BackAmount;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/ReturnOrder_To.cs b/Git.Storage.Conversion/ReturnOrder_To.cs
new file mode 100644
index 0000000..2e1f0bd
--- /dev/null
+++ b/Git.Storage.Conversion/ReturnOrder_To.cs
@@ -0,0 +1,94 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:16
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:16
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Return;
+
+namespace Git.Storage.Conversion
+{
+ public partial class ReturnOrder_To
+ {
+ public ReturnOrder_To()
+ {
+ }
+
+ public static ReturnOrderEntity To(ReturnOrder_CE item)
+ {
+ ReturnOrderEntity target = new ReturnOrderEntity();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.ReturnType=item.ReturnType;
+ target.ProductType=item.ProductType;
+ target.CusNum=item.CusNum;
+ target.CusName=item.CusName;
+ target.Contact=item.Contact;
+ target.Phone=item.Phone;
+ target.Address=item.Address;
+ target.ContractOrder=item.ContractOrder;
+ target.Num=item.Num;
+ target.Amount=item.Amount;
+ target.Weight=item.Weight;
+ target.Status=item.Status;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static ReturnOrder_CE ToCE(ReturnOrderEntity item)
+ {
+ ReturnOrder_CE target = new ReturnOrder_CE();
+ target.ID=item.ID;
+ target.OrderNum=item.OrderNum;
+ target.ReturnType=item.ReturnType;
+ target.ProductType=item.ProductType;
+ target.CusNum=item.CusNum;
+ target.CusName=item.CusName;
+ target.Contact=item.Contact;
+ target.Phone=item.Phone;
+ target.Address=item.Address;
+ target.ContractOrder=item.ContractOrder;
+ target.Num=item.Num;
+ target.Amount=item.Amount;
+ target.Weight=item.Weight;
+ target.Status=item.Status;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.CreateUser=item.CreateUser;
+ target.AuditUser=item.AuditUser;
+ target.AuditeTime=item.AuditeTime;
+ target.PrintUser=item.PrintUser;
+ target.PrintTime=item.PrintTime;
+ target.Reason=item.Reason;
+ target.OperateType=item.OperateType;
+ target.EquipmentNum=item.EquipmentNum;
+ target.EquipmentCode=item.EquipmentCode;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Storage_To.cs b/Git.Storage.Conversion/Storage_To.cs
new file mode 100644
index 0000000..5900463
--- /dev/null
+++ b/Git.Storage.Conversion/Storage_To.cs
@@ -0,0 +1,70 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:21
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:21
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class Storage_To
+ {
+ public Storage_To()
+ {
+ }
+
+ public static StorageEntity To(Storage_CE item)
+ {
+ StorageEntity target = new StorageEntity();
+ target.ID=item.ID;
+ target.StorageNum=item.StorageNum;
+ target.StorageName=item.StorageName;
+ target.StorageType=item.StorageType;
+ target.Length=item.Length;
+ target.Width=item.Width;
+ target.Height=item.Height;
+ target.Action=item.Action;
+ target.IsDelete=item.IsDelete;
+ target.Status=item.Status;
+ target.IsForbid=item.IsForbid;
+ target.IsDefault=item.IsDefault;
+ target.CreateTime=item.CreateTime;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static Storage_CE ToCE(StorageEntity item)
+ {
+ Storage_CE target = new Storage_CE();
+ target.ID=item.ID;
+ target.StorageNum=item.StorageNum;
+ target.StorageName=item.StorageName;
+ target.StorageType=item.StorageType;
+ target.Length=item.Length;
+ target.Width=item.Width;
+ target.Height=item.Height;
+ target.Action=item.Action;
+ target.IsDelete=item.IsDelete;
+ target.Status=item.Status;
+ target.IsForbid=item.IsForbid;
+ target.IsDefault=item.IsDefault;
+ target.CreateTime=item.CreateTime;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/Supplier_To.cs b/Git.Storage.Conversion/Supplier_To.cs
new file mode 100644
index 0000000..2fb19e7
--- /dev/null
+++ b/Git.Storage.Conversion/Supplier_To.cs
@@ -0,0 +1,66 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:49
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:49
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.Conversion
+{
+ public partial class Supplier_To
+ {
+ public Supplier_To()
+ {
+ }
+
+ public static SupplierEntity To(Supplier_CE item)
+ {
+ SupplierEntity target = new SupplierEntity();
+ target.ID=item.ID;
+ target.SupNum=item.SupNum;
+ target.SupName=item.SupName;
+ target.Phone=item.Phone;
+ target.Fax=item.Fax;
+ target.Email=item.Email;
+ target.ContactName=item.ContactName;
+ target.Address=item.Address;
+ target.CreateUser=item.CreateUser;
+ target.Description=item.Description;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+
+ public static Supplier_CE ToCE(SupplierEntity item)
+ {
+ Supplier_CE target = new Supplier_CE();
+ target.ID=item.ID;
+ target.SupNum=item.SupNum;
+ target.SupName=item.SupName;
+ target.Phone=item.Phone;
+ target.Fax=item.Fax;
+ target.Email=item.Email;
+ target.ContactName=item.ContactName;
+ target.Address=item.Address;
+ target.CreateUser=item.CreateUser;
+ target.Description=item.Description;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/SysDepart_To.cs b/Git.Storage.Conversion/SysDepart_To.cs
new file mode 100644
index 0000000..29fe8f7
--- /dev/null
+++ b/Git.Storage.Conversion/SysDepart_To.cs
@@ -0,0 +1,58 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:54
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:54
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class SysDepart_To
+ {
+ public SysDepart_To()
+ {
+ }
+
+ public static SysDepartEntity To(SysDepart_CE item)
+ {
+ SysDepartEntity target = new SysDepartEntity();
+ target.ID=item.ID;
+ target.DepartNum=item.DepartNum;
+ target.DepartName=item.DepartName;
+ target.ChildCount=item.ChildCount;
+ target.ParentNum=item.ParentNum;
+ target.Depth=item.Depth;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+
+ public static SysDepart_CE ToCE(SysDepartEntity item)
+ {
+ SysDepart_CE target = new SysDepart_CE();
+ target.ID=item.ID;
+ target.DepartNum=item.DepartNum;
+ target.DepartName=item.DepartName;
+ target.ChildCount=item.ChildCount;
+ target.ParentNum=item.ParentNum;
+ target.Depth=item.Depth;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/SysRelation_To.cs b/Git.Storage.Conversion/SysRelation_To.cs
new file mode 100644
index 0000000..6cb7936
--- /dev/null
+++ b/Git.Storage.Conversion/SysRelation_To.cs
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:43:39
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:43:39
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class SysRelation_To
+ {
+ public SysRelation_To()
+ {
+ }
+
+ public static SysRelationEntity To(SysRelation_CE item)
+ {
+ SysRelationEntity target = new SysRelationEntity();
+ target.ID=item.ID;
+ target.RoleNum=item.RoleNum;
+ target.ResNum=item.ResNum;
+ target.ResType=item.ResType;
+ return target;
+ }
+
+ public static SysRelation_CE ToCE(SysRelationEntity item)
+ {
+ SysRelation_CE target = new SysRelation_CE();
+ target.ID=item.ID;
+ target.RoleNum=item.RoleNum;
+ target.ResNum=item.ResNum;
+ target.ResType=item.ResType;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/SysResource_To.cs b/Git.Storage.Conversion/SysResource_To.cs
new file mode 100644
index 0000000..39afd77
--- /dev/null
+++ b/Git.Storage.Conversion/SysResource_To.cs
@@ -0,0 +1,84 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:48:45
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:48:45
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class SysResource_To
+ {
+ public SysResource_To()
+ {
+ }
+
+ public static SysResourceEntity To(SysResource_CE item)
+ {
+ SysResourceEntity target = new SysResourceEntity();
+ target.ID=item.ID;
+ target.ResNum=item.ResNum;
+ target.ResName=item.ResName;
+ target.ParentNum=item.ParentNum;
+ target.Depth=item.Depth;
+ target.ParentPath=item.ParentPath;
+ target.ChildCount=item.ChildCount;
+ target.Sort=item.Sort;
+ target.IsHide=item.IsHide;
+ target.IsDelete=item.IsDelete;
+ target.Url=item.Url;
+ target.CssName=item.CssName;
+ target.CreateTime=item.CreateTime;
+ target.Depart=item.Depart;
+ target.ResType=item.ResType;
+ target.UpdateTime=item.UpdateTime;
+ target.CreateUser=item.CreateUser;
+ target.UpdateUser=item.UpdateUser;
+ target.CreateIp=item.CreateIp;
+ target.UpdateIp=item.UpdateIp;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static SysResource_CE ToCE(SysResourceEntity item)
+ {
+ SysResource_CE target = new SysResource_CE();
+ target.ID=item.ID;
+ target.ResNum=item.ResNum;
+ target.ResName=item.ResName;
+ target.ParentNum=item.ParentNum;
+ target.Depth=item.Depth;
+ target.ParentPath=item.ParentPath;
+ target.ChildCount=item.ChildCount;
+ target.Sort=item.Sort;
+ target.IsHide=item.IsHide;
+ target.IsDelete=item.IsDelete;
+ target.Url=item.Url;
+ target.CssName=item.CssName;
+ target.CreateTime=item.CreateTime;
+ target.Depart=item.Depart;
+ target.ResType=item.ResType;
+ target.UpdateTime=item.UpdateTime;
+ target.CreateUser=item.CreateUser;
+ target.UpdateUser=item.UpdateUser;
+ target.CreateIp=item.CreateIp;
+ target.UpdateIp=item.UpdateIp;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/SysRole_To.cs b/Git.Storage.Conversion/SysRole_To.cs
new file mode 100644
index 0000000..1373c2c
--- /dev/null
+++ b/Git.Storage.Conversion/SysRole_To.cs
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:40:50
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:40:50
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class SysRole_To
+ {
+ public SysRole_To()
+ {
+ }
+
+ public static SysRoleEntity To(SysRole_CE item)
+ {
+ SysRoleEntity target = new SysRoleEntity();
+ target.ID=item.ID;
+ target.RoleNum=item.RoleNum;
+ target.RoleName=item.RoleName;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.Remark=item.Remark;
+ return target;
+ }
+
+ public static SysRole_CE ToCE(SysRoleEntity item)
+ {
+ SysRole_CE target = new SysRole_CE();
+ target.ID=item.ID;
+ target.RoleNum=item.RoleNum;
+ target.RoleName=item.RoleName;
+ target.IsDelete=item.IsDelete;
+ target.CreateTime=item.CreateTime;
+ target.Remark=item.Remark;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/TNum_To.cs b/Git.Storage.Conversion/TNum_To.cs
new file mode 100644
index 0000000..7073deb
--- /dev/null
+++ b/Git.Storage.Conversion/TNum_To.cs
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:01:06
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:01:06
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class TNum_To
+ {
+ public TNum_To()
+ {
+ }
+
+ public static TNumEntity To(TNum_CE item)
+ {
+ TNumEntity target = new TNumEntity();
+ target.ID=item.ID;
+ target.Num=item.Num;
+ target.MinNum=item.MinNum;
+ target.MaxNum=item.MaxNum;
+ target.Day=item.Day;
+ target.TabName=item.TabName;
+ return target;
+ }
+
+ public static TNum_CE ToCE(TNumEntity item)
+ {
+ TNum_CE target = new TNum_CE();
+ target.ID=item.ID;
+ target.Num=item.Num;
+ target.MinNum=item.MinNum;
+ target.MaxNum=item.MaxNum;
+ target.Day=item.Day;
+ target.TabName=item.TabName;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/VnArea_To.cs b/Git.Storage.Conversion/VnArea_To.cs
new file mode 100644
index 0000000..62af0bd
--- /dev/null
+++ b/Git.Storage.Conversion/VnArea_To.cs
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:46:07
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:46:07
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class VnArea_To
+ {
+ public VnArea_To()
+ {
+ }
+
+ public static VnAreaEntity To(VnArea_CE item)
+ {
+ VnAreaEntity target = new VnAreaEntity();
+ target.ID=item.ID;
+ target.Code=item.Code;
+ target.AName=item.AName;
+ target.ANameEn=item.ANameEn;
+ target.CCode=item.CCode;
+ return target;
+ }
+
+ public static VnArea_CE ToCE(VnAreaEntity item)
+ {
+ VnArea_CE target = new VnArea_CE();
+ target.ID=item.ID;
+ target.Code=item.Code;
+ target.AName=item.AName;
+ target.ANameEn=item.ANameEn;
+ target.CCode=item.CCode;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/VnCity_To.cs b/Git.Storage.Conversion/VnCity_To.cs
new file mode 100644
index 0000000..0bf30b6
--- /dev/null
+++ b/Git.Storage.Conversion/VnCity_To.cs
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:45:42
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:45:42
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.RoseEntity;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.Conversion
+{
+ public partial class VnCity_To
+ {
+ public VnCity_To()
+ {
+ }
+
+ public static VnCityEntity To(VnCity_CE item)
+ {
+ VnCityEntity target = new VnCityEntity();
+ target.ID=item.ID;
+ target.Code=item.Code;
+ target.CName=item.CName;
+ target.CNameEn=item.CNameEn;
+ target.PCode=item.PCode;
+ return target;
+ }
+
+ public static VnCity_CE ToCE(VnCityEntity item)
+ {
+ VnCity_CE target = new VnCity_CE();
+ target.ID=item.ID;
+ target.Code=item.Code;
+ target.CName=item.CName;
+ target.CNameEn=item.CNameEn;
+ target.PCode=item.PCode;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.Conversion/VnProvince_To.cs b/Git.Storage.Conversion/VnProvince_To.cs
new file mode 100644
index 0000000..a2ab8d5
--- /dev/null
+++ b/Git.Storage.Conversion/VnProvince_To.cs
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 22:43:50
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 22:43:50
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using Git.Storage.Entity.Base;
+using Git.Storage.RoseEntity;
+
+namespace Git.Storage.Conversion
+{
+ public partial class VnProvince_To
+ {
+ public VnProvince_To()
+ {
+ }
+
+ public static VnProvinceEntity To(VnProvince_CE item)
+ {
+ VnProvinceEntity target = new VnProvinceEntity();
+ target.ID=item.ID;
+ target.Code=item.Code;
+ target.PName=item.PName;
+ target.PNameEn=item.PNameEn;
+ return target;
+ }
+
+ public static VnProvince_CE ToCE(VnProvinceEntity item)
+ {
+ VnProvince_CE target = new VnProvince_CE();
+ target.ID=item.ID;
+ target.Code=item.Code;
+ target.PName=item.PName;
+ target.PNameEn=item.PNameEn;
+ return target;
+ }
+ }
+}
diff --git a/Git.Storage.DataAccess/Bad/BadReportDataAccess.cs b/Git.Storage.DataAccess/Bad/BadReportDataAccess.cs
new file mode 100644
index 0000000..fa1cb03
--- /dev/null
+++ b/Git.Storage.DataAccess/Bad/BadReportDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:31:50
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:31:50
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Bad;
+using Git.Storage.IDataAccess.Bad;
+
+namespace Git.Storage.DataAccess.Bad
+{
+ public partial class BadReportDataAccess : DbHelper, IBadReport
+ {
+ public BadReportDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Bad/BadReportDetailDataAccess.cs b/Git.Storage.DataAccess/Bad/BadReportDetailDataAccess.cs
new file mode 100644
index 0000000..4db4aba
--- /dev/null
+++ b/Git.Storage.DataAccess/Bad/BadReportDetailDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:31:51
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:31:51
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Bad;
+using Git.Storage.IDataAccess.Bad;
+
+namespace Git.Storage.DataAccess.Bad
+{
+ public partial class BadReportDetailDataAccess : DbHelper, IBadReportDetail
+ {
+ public BadReportDetailDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Bad/Proc_AuditeBadReportDataAccess.cs b/Git.Storage.DataAccess/Bad/Proc_AuditeBadReportDataAccess.cs
new file mode 100644
index 0000000..1fbdab2
--- /dev/null
+++ b/Git.Storage.DataAccess/Bad/Proc_AuditeBadReportDataAccess.cs
@@ -0,0 +1,19 @@
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Bad;
+using Git.Storage.IDataAccess.Bad;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.DataAccess.Bad
+{
+ public partial class Proc_AuditeBadReportDataAccess : DbProcHelper, IProc_AuditeBadReport
+ {
+ public Proc_AuditeBadReportDataAccess()
+ {
+ }
+
+ }
+
+}
diff --git a/Git.Storage.DataAccess/Bad/Proc_BadTOP10NumDataAccess.cs b/Git.Storage.DataAccess/Bad/Proc_BadTOP10NumDataAccess.cs
new file mode 100644
index 0000000..c8c66a8
--- /dev/null
+++ b/Git.Storage.DataAccess/Bad/Proc_BadTOP10NumDataAccess.cs
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/06/09 14:54:40
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/06/09 14:54:40
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.IDataAccess.Bad;
+using Git.Storage.Entity.Bad;
+
+
+namespace Git.Storage.DataAccess.Bad
+{
+ public partial class Proc_BadTOP10NumDataAccess : DbProcHelper, IProc_BadTOP10Num
+ {
+ public Proc_BadTOP10NumDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/AdminDataAccess.cs b/Git.Storage.DataAccess/Base/AdminDataAccess.cs
new file mode 100644
index 0000000..04ce2ab
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/AdminDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:56:31
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:56:31
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class AdminDataAccess : DbHelper, IAdmin
+ {
+ public AdminDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/MeasureDataAccess.cs b/Git.Storage.DataAccess/Base/MeasureDataAccess.cs
new file mode 100644
index 0000000..39eb9fa
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/MeasureDataAccess.cs
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:00:56
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:00:56
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class MeasureDataAccess : DbHelper, IMeasure
+ {
+ public MeasureDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/MeasureRelDataAccess.cs b/Git.Storage.DataAccess/Base/MeasureRelDataAccess.cs
new file mode 100644
index 0000000..6083475
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/MeasureRelDataAccess.cs
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:01:01
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:01:01
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class MeasureRelDataAccess : DbHelper, IMeasureRel
+ {
+ public MeasureRelDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/SequenceDataAccess.cs b/Git.Storage.DataAccess/Base/SequenceDataAccess.cs
new file mode 100644
index 0000000..ecc011e
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/SequenceDataAccess.cs
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/10/08 11:42:17
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/10/08 11:42:17
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+using Git.Framework.MsSql.DataAccess;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class SequenceDataAccess : DbHelper, ISequence
+ {
+ public SequenceDataAccess()
+ {
+ }
+
+ ///
+ /// 查询系统所有的自定义表信息
+ ///
+ ///
+ public DataTable GetTables()
+ {
+ string sql = "select * from sysobjects where xtype='U'";
+ DataCommand command = DataCommandManager.CreateCustomDataCommand("JooWMS", CommandType.Text, sql);
+ DataSet ds = command.ExecuteDataSet();
+ if (ds != null && ds.Tables.Count > 0)
+ {
+ return ds.Tables[0];
+ }
+ return null;
+ }
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/SysDepartDataAccess.cs b/Git.Storage.DataAccess/Base/SysDepartDataAccess.cs
new file mode 100644
index 0000000..07c1675
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/SysDepartDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:56:30
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:56:30
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class SysDepartDataAccess : DbHelper, ISysDepart
+ {
+ public SysDepartDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/SysRelationDataAccess.cs b/Git.Storage.DataAccess/Base/SysRelationDataAccess.cs
new file mode 100644
index 0000000..253287a
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/SysRelationDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:56:33
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:56:33
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class SysRelationDataAccess : DbHelper, ISysRelation
+ {
+ public SysRelationDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/SysResourceDataAccess.cs b/Git.Storage.DataAccess/Base/SysResourceDataAccess.cs
new file mode 100644
index 0000000..ebe96ea
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/SysResourceDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:56:32
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:56:32
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class SysResourceDataAccess : DbHelper, ISysResource
+ {
+ public SysResourceDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/SysRoleDataAccess.cs b/Git.Storage.DataAccess/Base/SysRoleDataAccess.cs
new file mode 100644
index 0000000..17978f4
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/SysRoleDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:56:30
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:56:30
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class SysRoleDataAccess : DbHelper, ISysRole
+ {
+ public SysRoleDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/TNumDataAccess.cs b/Git.Storage.DataAccess/Base/TNumDataAccess.cs
new file mode 100644
index 0000000..b00979a
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/TNumDataAccess.cs
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:01:06
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:01:06
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class TNumDataAccess : DbHelper, ITNum
+ {
+ public TNumDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/VnAreaDataAccess.cs b/Git.Storage.DataAccess/Base/VnAreaDataAccess.cs
new file mode 100644
index 0000000..ca882be
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/VnAreaDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:56:35
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:56:35
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class VnAreaDataAccess : DbHelper, IVnArea
+ {
+ public VnAreaDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/VnCityDataAccess.cs b/Git.Storage.DataAccess/Base/VnCityDataAccess.cs
new file mode 100644
index 0000000..1672a41
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/VnCityDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:56:34
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:56:34
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class VnCityDataAccess : DbHelper, IVnCity
+ {
+ public VnCityDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Base/VnProvinceDataAccess.cs b/Git.Storage.DataAccess/Base/VnProvinceDataAccess.cs
new file mode 100644
index 0000000..f0a4a45
--- /dev/null
+++ b/Git.Storage.DataAccess/Base/VnProvinceDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:56:33
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:56:33
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Base;
+using Git.Storage.IDataAccess.Base;
+
+namespace Git.Storage.DataAccess.Base
+{
+ public partial class VnProvinceDataAccess : DbHelper, IVnProvince
+ {
+ public VnProvinceDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Check/CheckDataDataAccess.cs b/Git.Storage.DataAccess/Check/CheckDataDataAccess.cs
new file mode 100644
index 0000000..c743818
--- /dev/null
+++ b/Git.Storage.DataAccess/Check/CheckDataDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:41
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:41
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Check;
+using Git.Storage.IDataAccess.Check;
+
+namespace Git.Storage.DataAccess.Check
+{
+ public partial class CheckDataDataAccess : DbHelper, ICheckData
+ {
+ public CheckDataDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Check/CheckStockDataAccess.cs b/Git.Storage.DataAccess/Check/CheckStockDataAccess.cs
new file mode 100644
index 0000000..94df815
--- /dev/null
+++ b/Git.Storage.DataAccess/Check/CheckStockDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:38
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:38
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Check;
+using Git.Storage.IDataAccess.Check;
+
+namespace Git.Storage.DataAccess.Check
+{
+ public partial class CheckStockDataAccess : DbHelper, ICheckStock
+ {
+ public CheckStockDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Check/CheckStockInfoDataAccess.cs b/Git.Storage.DataAccess/Check/CheckStockInfoDataAccess.cs
new file mode 100644
index 0000000..dc45d10
--- /dev/null
+++ b/Git.Storage.DataAccess/Check/CheckStockInfoDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:39
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:39
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Check;
+using Git.Storage.IDataAccess.Check;
+
+namespace Git.Storage.DataAccess.Check
+{
+ public partial class CheckStockInfoDataAccess : DbHelper, ICheckStockInfo
+ {
+ public CheckStockInfoDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Check/CloneHistoryDataAccess.cs b/Git.Storage.DataAccess/Check/CloneHistoryDataAccess.cs
new file mode 100644
index 0000000..ff43d56
--- /dev/null
+++ b/Git.Storage.DataAccess/Check/CloneHistoryDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:43
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:43
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Check;
+using Git.Storage.IDataAccess.Check;
+
+namespace Git.Storage.DataAccess.Check
+{
+ public partial class CloneHistoryDataAccess : DbHelper, ICloneHistory
+ {
+ public CloneHistoryDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Check/CloneTempDataAccess.cs b/Git.Storage.DataAccess/Check/CloneTempDataAccess.cs
new file mode 100644
index 0000000..d75f888
--- /dev/null
+++ b/Git.Storage.DataAccess/Check/CloneTempDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:42
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:42
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Check;
+using Git.Storage.IDataAccess.Check;
+
+namespace Git.Storage.DataAccess.Check
+{
+ public partial class CloneTempDataAccess : DbHelper, ICloneTemp
+ {
+ public CloneTempDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Check/Proc_AuditeCheckDataAccess.cs b/Git.Storage.DataAccess/Check/Proc_AuditeCheckDataAccess.cs
new file mode 100644
index 0000000..e47a271
--- /dev/null
+++ b/Git.Storage.DataAccess/Check/Proc_AuditeCheckDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/15 21:38:12
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/15 21:38:12
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Check;
+using Git.Storage.IDataAccess.Check;
+
+namespace Git.Storage.DataAccess.Check
+{
+ public partial class Proc_AuditeCheckDataAccess : DbProcHelper, IProc_AuditeCheck
+ {
+ public Proc_AuditeCheckDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Check/Proc_CreateCheckDataAccess.cs b/Git.Storage.DataAccess/Check/Proc_CreateCheckDataAccess.cs
new file mode 100644
index 0000000..3faaee6
--- /dev/null
+++ b/Git.Storage.DataAccess/Check/Proc_CreateCheckDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/15 10:47:41
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/15 10:47:41
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Check;
+using Git.Storage.IDataAccess.Check;
+
+namespace Git.Storage.DataAccess.Check
+{
+ public partial class Proc_CreateCheckDataAccess : DbProcHelper, IProc_CreateCheck
+ {
+ public Proc_CreateCheckDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Git.Storage.DataAccess.csproj b/Git.Storage.DataAccess/Git.Storage.DataAccess.csproj
new file mode 100644
index 0000000..2b724f0
--- /dev/null
+++ b/Git.Storage.DataAccess/Git.Storage.DataAccess.csproj
@@ -0,0 +1,156 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {3A7282E9-8371-4255-A7E6-600A111F03D1}
+ Library
+ Properties
+ Git.Storage.DataAccess
+ Git.Storage.DataAccess
+ v4.0
+ 512
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\Lib\Git.Framework.Io.dll
+
+
+ ..\Lib\Git.Framework.Log.dll
+
+
+ ..\Lib\Git.Framework.MsSql.dll
+
+
+ ..\Lib\Git.Framework.ORM.dll
+
+
+ ..\Lib\Microsoft.Practices.EnterpriseLibrary.Caching.dll
+
+
+ False
+ ..\Lib\Microsoft.Practices.EnterpriseLibrary.Common.dll
+
+
+ False
+ ..\Lib\Microsoft.Practices.EnterpriseLibrary.Data.dll
+
+
+ ..\Lib\Microsoft.Practices.EnterpriseLibrary.Logging.dll
+
+
+ ..\Lib\Microsoft.Practices.ObjectBuilder.dll
+
+
+ False
+ ..\Lib\Microsoft.Practices.Unity.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {7061be81-6a7b-4773-8bef-fad51a88d522}
+ Git.Storage.Common
+
+
+ {62f1847e-3906-43da-a80f-9977fb31f5ea}
+ Git.Storage.Entity
+
+
+ {a5e5d75f-7a39-4e34-a9aa-519901b89114}
+ Git.Storage.IDataAccess
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Git.Storage.DataAccess/Git.Storage.DataAccess.csproj.user b/Git.Storage.DataAccess/Git.Storage.DataAccess.csproj.user
new file mode 100644
index 0000000..07dbd5b
--- /dev/null
+++ b/Git.Storage.DataAccess/Git.Storage.DataAccess.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ ProjectFiles
+
+
\ No newline at end of file
diff --git a/Git.Storage.DataAccess/InStorage/InStorDetailDataAccess.cs b/Git.Storage.DataAccess/InStorage/InStorDetailDataAccess.cs
new file mode 100644
index 0000000..4755da8
--- /dev/null
+++ b/Git.Storage.DataAccess/InStorage/InStorDetailDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:00:41
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:00:41
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.InStorage;
+using Git.Storage.IDataAccess.InStorage;
+
+namespace Git.Storage.DataAccess.InStorage
+{
+ public partial class InStorDetailDataAccess : DbHelper, IInStorDetail
+ {
+ public InStorDetailDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/InStorage/InStorSingleDataAccess.cs b/Git.Storage.DataAccess/InStorage/InStorSingleDataAccess.cs
new file mode 100644
index 0000000..8e84544
--- /dev/null
+++ b/Git.Storage.DataAccess/InStorage/InStorSingleDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:00:41
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:00:41
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.InStorage;
+using Git.Storage.IDataAccess.InStorage;
+
+namespace Git.Storage.DataAccess.InStorage
+{
+ public partial class InStorSingleDataAccess : DbHelper, IInStorSingle
+ {
+ public InStorSingleDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/InStorage/InStorageDataAccess.cs b/Git.Storage.DataAccess/InStorage/InStorageDataAccess.cs
new file mode 100644
index 0000000..ce70d9d
--- /dev/null
+++ b/Git.Storage.DataAccess/InStorage/InStorageDataAccess.cs
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:00:40
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:00:40
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.InStorage;
+using Git.Storage.IDataAccess.InStorage;
+using Git.Framework.MsSql.DataAccess;
+using Git.Storage.Entity.Report;
+
+namespace Git.Storage.DataAccess.InStorage
+{
+ public partial class InStorageDataAccess : DbHelper, IInStorage
+ {
+ public InStorageDataAccess()
+ {
+ }
+
+
+ ///
+ /// 查询指定时间段范围内各个产品的数量
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public List GetChartTop(int status, string storageNum, DateTime beginTime, DateTime endTime)
+ {
+ DataCommand command = DataCommandManager.GetDataCommand("InStorage.InChartReport");
+ command.SetParameterValue("@Status", status);
+ command.SetParameterValue("@StorageNum", storageNum);
+ command.SetParameterValue("@BeginTime", beginTime);
+ command.SetParameterValue("@EndTime", endTime);
+ List listResult = command.ExecuteEntityList();
+ return listResult;
+ }
+ }
+}
diff --git a/Git.Storage.DataAccess/InStorage/Proc_AuditeInStorageDataAccess.cs b/Git.Storage.DataAccess/InStorage/Proc_AuditeInStorageDataAccess.cs
new file mode 100644
index 0000000..0b0bd85
--- /dev/null
+++ b/Git.Storage.DataAccess/InStorage/Proc_AuditeInStorageDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/02 09:57:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/02 09:57:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.InStorage;
+using Git.Storage.IDataAccess.InStorage;
+
+namespace Git.Storage.DataAccess.InStorage
+{
+ public partial class Proc_AuditeInStorageDataAccess : DbProcHelper, IProc_AuditeInStorage
+ {
+ public Proc_AuditeInStorageDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/InStorage/Proc_InStorageReportDataAccess.cs b/Git.Storage.DataAccess/InStorage/Proc_InStorageReportDataAccess.cs
new file mode 100644
index 0000000..e0245ea
--- /dev/null
+++ b/Git.Storage.DataAccess/InStorage/Proc_InStorageReportDataAccess.cs
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-05-16 14:37:13
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-05-16 14:37:13
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.InStorage;
+using Git.Storage.IDataAccess.InStorage;
+
+
+namespace Git.Storage.DataAccess.InStorage
+{
+ public partial class Proc_InStorageReportDataAccess : DbProcHelper, IProc_InStorageReport
+ {
+ public Proc_InStorageReportDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Move/MoveOrderDataAccess.cs b/Git.Storage.DataAccess/Move/MoveOrderDataAccess.cs
new file mode 100644
index 0000000..3fe0a5a
--- /dev/null
+++ b/Git.Storage.DataAccess/Move/MoveOrderDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:33:14
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:33:14
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Move;
+using Git.Storage.IDataAccess.Move;
+
+namespace Git.Storage.DataAccess.Move
+{
+ public partial class MoveOrderDataAccess : DbHelper, IMoveOrder
+ {
+ public MoveOrderDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Move/MoveOrderDetailDataAccess.cs b/Git.Storage.DataAccess/Move/MoveOrderDetailDataAccess.cs
new file mode 100644
index 0000000..81b4ff3
--- /dev/null
+++ b/Git.Storage.DataAccess/Move/MoveOrderDetailDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:33:14
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:33:14
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Move;
+using Git.Storage.IDataAccess.Move;
+
+namespace Git.Storage.DataAccess.Move
+{
+ public partial class MoveOrderDetailDataAccess : DbHelper, IMoveOrderDetail
+ {
+ public MoveOrderDetailDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Move/Proc_AuditeMove.cs b/Git.Storage.DataAccess/Move/Proc_AuditeMove.cs
new file mode 100644
index 0000000..0709a81
--- /dev/null
+++ b/Git.Storage.DataAccess/Move/Proc_AuditeMove.cs
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/01 10:31:16
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/01 10:31:16
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Move;
+using Git.Storage.IDataAccess.Move;
+
+namespace Git.Storage.DataAccess.Move
+{
+ public partial class Proc_AuditeMoveDataAccess : DbProcHelper, IProc_AuditeMove
+ {
+ public Proc_AuditeMoveDataAccess()
+ {
+ }
+
+ }
+}
+
diff --git a/Git.Storage.DataAccess/Order/OrderDetailDataAccess.cs b/Git.Storage.DataAccess/Order/OrderDetailDataAccess.cs
new file mode 100644
index 0000000..82ff5e1
--- /dev/null
+++ b/Git.Storage.DataAccess/Order/OrderDetailDataAccess.cs
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-08-06 20:13:04
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-08-06 20:13:04
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Order;
+using Git.Storage.IDataAccess.Order;
+
+namespace Git.Storage.DataAccess.Order
+{
+ public partial class OrderDetailDataAccess : DbHelper, IOrderDetail
+ {
+ public OrderDetailDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Order/OrdersDataAccess.cs b/Git.Storage.DataAccess/Order/OrdersDataAccess.cs
new file mode 100644
index 0000000..6a8a3ea
--- /dev/null
+++ b/Git.Storage.DataAccess/Order/OrdersDataAccess.cs
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-08-06 20:13:03
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-08-06 20:13:03
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Order;
+using Git.Storage.IDataAccess.Order;
+
+namespace Git.Storage.DataAccess.Order
+{
+ public partial class OrdersDataAccess : DbHelper, IOrders
+ {
+ public OrdersDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/OutStorage/OutStoDetailDataAccess.cs b/Git.Storage.DataAccess/OutStorage/OutStoDetailDataAccess.cs
new file mode 100644
index 0000000..d11f701
--- /dev/null
+++ b/Git.Storage.DataAccess/OutStorage/OutStoDetailDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:03:02
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:03:02
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.OutStorage;
+using Git.Storage.IDataAccess.OutStorage;
+
+namespace Git.Storage.DataAccess.OutStorage
+{
+ public partial class OutStoDetailDataAccess : DbHelper, IOutStoDetail
+ {
+ public OutStoDetailDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/OutStorage/OutStorSingleDataAccess.cs b/Git.Storage.DataAccess/OutStorage/OutStorSingleDataAccess.cs
new file mode 100644
index 0000000..e46b053
--- /dev/null
+++ b/Git.Storage.DataAccess/OutStorage/OutStorSingleDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:03:02
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:03:02
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.OutStorage;
+using Git.Storage.IDataAccess.OutStorage;
+
+namespace Git.Storage.DataAccess.OutStorage
+{
+ public partial class OutStorSingleDataAccess : DbHelper, IOutStorSingle
+ {
+ public OutStorSingleDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/OutStorage/OutStorageDataAccess.cs b/Git.Storage.DataAccess/OutStorage/OutStorageDataAccess.cs
new file mode 100644
index 0000000..58f4d41
--- /dev/null
+++ b/Git.Storage.DataAccess/OutStorage/OutStorageDataAccess.cs
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:03:01
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:03:01
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.OutStorage;
+using Git.Storage.IDataAccess.OutStorage;
+using Git.Storage.Entity.Report;
+using Git.Framework.MsSql.DataAccess;
+
+namespace Git.Storage.DataAccess.OutStorage
+{
+ public partial class OutStorageDataAccess : DbHelper, IOutStorage
+ {
+ public OutStorageDataAccess()
+ {
+ }
+
+
+ ///
+ /// 查询指定时间段范围内各个产品的数量
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public List GetChartTop(int status, string storageNum, DateTime beginTime, DateTime endTime)
+ {
+ DataCommand command = DataCommandManager.GetDataCommand("InStorage.OutChartReport");
+ command.SetParameterValue("@Status", status);
+ command.SetParameterValue("@StorageNum", storageNum);
+ command.SetParameterValue("@BeginTime", beginTime);
+ command.SetParameterValue("@EndTime", endTime);
+ List listResult = command.ExecuteEntityList();
+ return listResult;
+ }
+ }
+}
diff --git a/Git.Storage.DataAccess/OutStorage/Proc_AuditeOutStorageDataAccess.cs b/Git.Storage.DataAccess/OutStorage/Proc_AuditeOutStorageDataAccess.cs
new file mode 100644
index 0000000..5d1cf4c
--- /dev/null
+++ b/Git.Storage.DataAccess/OutStorage/Proc_AuditeOutStorageDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/09 12:57:58
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/09 12:57:58
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.OutStorage;
+using Git.Storage.IDataAccess.OutStorage;
+
+namespace Git.Storage.DataAccess.OutStorage
+{
+ public partial class Proc_AuditeOutStorageDataAccess : DbProcHelper, IProc_AuditeOutStorage
+ {
+ public Proc_AuditeOutStorageDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/OutStorage/Proc_OutStorageReportDataAccess.cs b/Git.Storage.DataAccess/OutStorage/Proc_OutStorageReportDataAccess.cs
new file mode 100644
index 0000000..c442bbf
--- /dev/null
+++ b/Git.Storage.DataAccess/OutStorage/Proc_OutStorageReportDataAccess.cs
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-05-21 14:20:27
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-05-21 14:20:27
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.OutStorage;
+using Git.Storage.IDataAccess.OutStorage;
+
+
+namespace Git.Storage.DataAccess.OutStorage
+{
+ public partial class Proc_OutStorageReportDataAccess : DbProcHelper, IProc_OutStorageReport
+ {
+ public Proc_OutStorageReportDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Procedure/Proc_SwiftNumDataAccess.cs b/Git.Storage.DataAccess/Procedure/Proc_SwiftNumDataAccess.cs
new file mode 100644
index 0000000..5ecd35e
--- /dev/null
+++ b/Git.Storage.DataAccess/Procedure/Proc_SwiftNumDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-09-26 22:18:24
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-09-26 22:18:24
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Procedure;
+using Git.Storage.IDataAccess.Procedure;
+
+namespace Git.Storage.DataAccess.Procedure
+{
+ public partial class Proc_SwiftNumDataAccess : DbProcHelper, IProc_SwiftNum
+ {
+ public Proc_SwiftNumDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Properties/AssemblyInfo.cs b/Git.Storage.DataAccess/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..b75f2d4
--- /dev/null
+++ b/Git.Storage.DataAccess/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下
+// 特性集控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Git.Storage.DataAccess")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("workgroup")]
+[assembly: AssemblyProduct("Git.Storage.DataAccess")]
+[assembly: AssemblyCopyright("Copyright © workgroup 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("661f3f34-866d-4f4d-a73b-94e23d51fa96")]
+
+// 程序集的版本信息由下面四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
+// 方法是按如下所示使用“*”:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Git.Storage.DataAccess/Report/ReportParamsDataAccess.cs b/Git.Storage.DataAccess/Report/ReportParamsDataAccess.cs
new file mode 100644
index 0000000..f476a4c
--- /dev/null
+++ b/Git.Storage.DataAccess/Report/ReportParamsDataAccess.cs
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/09/05 13:07:36
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/09/05 13:07:36
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Report;
+using Git.Storage.IDataAccess.Report;
+
+namespace Git.Storage.DataAccess.Report
+{
+ public partial class ReportParamsDataAccess : DbHelper, IReportParams
+ {
+ public ReportParamsDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Report/ReportsDataAccess.cs b/Git.Storage.DataAccess/Report/ReportsDataAccess.cs
new file mode 100644
index 0000000..4f4209f
--- /dev/null
+++ b/Git.Storage.DataAccess/Report/ReportsDataAccess.cs
@@ -0,0 +1,94 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/09/05 13:07:30
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/09/05 13:07:30
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Report;
+using Git.Storage.IDataAccess.Report;
+using Git.Framework.MsSql.DataAccess;
+using Git.Storage.Common;
+
+namespace Git.Storage.DataAccess.Report
+{
+ public partial class ReportsDataAccess : DbHelper, IReports
+ {
+ public ReportsDataAccess()
+ {
+ }
+
+ ///
+ /// 根据存储过程名称查询元数据
+ ///
+ ///
+ ///
+ public List GetMetadataList(string argProceName)
+ {
+ DataCommand command = DataCommandManager.GetDataCommand("Common.GetProceParam");
+ command.SetParameterValue("@SPECIFIC_NAME", argProceName);
+ List list = command.ExecuteEntityList();
+
+ return list;
+ }
+
+ ///
+ /// 获取数据源
+ ///
+ ///
+ ///
+ ///
+ public DataSet GetDataSource(ReportsEntity entity, List list)
+ {
+ DataCommand command = null;
+ DataSet ds = null;
+ if (entity.DsType == (int)EDataSourceType.SQL)
+ {
+ command = DataCommandManager.CreateCustomDataCommand("JooWMS", CommandType.Text, entity.DataSource);
+ }
+ else
+ {
+ command = DataCommandManager.CreateCustomDataCommand("JooWMS", CommandType.StoredProcedure, entity.DataSource);
+ }
+ if (list != null)
+ {
+ foreach (ReportParamsEntity item in list)
+ {
+ DbType dbType = DbType.String;
+ if (item.ParamType == "datetime" || item.ParamType=="date")
+ {
+ dbType = DbType.DateTime;
+ item.DefaultValue = string.IsNullOrEmpty(item.DefaultValue) ? DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") : item.DefaultValue;
+ }
+ else if (item.ParamType == "int")
+ {
+ dbType = DbType.Int32;
+ item.DefaultValue = string.IsNullOrEmpty(item.DefaultValue) ? "0" : item.DefaultValue;
+ }
+ else
+ {
+ item.DefaultValue = string.IsNullOrEmpty(item.DefaultValue) ? "" : item.DefaultValue;
+ }
+ command.AddParameterValue(item.ParamName, item.DefaultValue, dbType);
+ }
+ }
+ ds = command.ExecuteDataSet();
+
+ return ds;
+ }
+ }
+}
diff --git a/Git.Storage.DataAccess/Return/Proc_AuditeReturnDataAccess.cs b/Git.Storage.DataAccess/Return/Proc_AuditeReturnDataAccess.cs
new file mode 100644
index 0000000..371f38d
--- /dev/null
+++ b/Git.Storage.DataAccess/Return/Proc_AuditeReturnDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/28 22:06:59
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/28 22:06:59
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Return;
+using Git.Storage.IDataAccess.Return;
+
+namespace Git.Storage.DataAccess.Return
+{
+ public partial class Proc_AuditeReturnDataAccess : DbProcHelper, IProc_AuditeReturn
+ {
+ public Proc_AuditeReturnDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Return/Proc_ReturnTOP10NumDataAccess.cs b/Git.Storage.DataAccess/Return/Proc_ReturnTOP10NumDataAccess.cs
new file mode 100644
index 0000000..43b4bf1
--- /dev/null
+++ b/Git.Storage.DataAccess/Return/Proc_ReturnTOP10NumDataAccess.cs
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/06/09 14:54:55
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/06/09 14:54:55
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Return;
+using Git.Storage.IDataAccess.Return;
+
+namespace Git.Storage.DataAccess.Return
+{
+ public partial class Proc_ReturnTOP10NumDataAccess : DbProcHelper, IProc_ReturnTOP10Num
+ {
+ public Proc_ReturnTOP10NumDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Return/ReturnDetailDataAccess.cs b/Git.Storage.DataAccess/Return/ReturnDetailDataAccess.cs
new file mode 100644
index 0000000..5eeb2df
--- /dev/null
+++ b/Git.Storage.DataAccess/Return/ReturnDetailDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:24:05
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:24:05
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Return;
+using Git.Storage.IDataAccess.Return;
+
+namespace Git.Storage.DataAccess.Return
+{
+ public partial class ReturnDetailDataAccess : DbHelper, IReturnDetail
+ {
+ public ReturnDetailDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Return/ReturnOrderDataAccess.cs b/Git.Storage.DataAccess/Return/ReturnOrderDataAccess.cs
new file mode 100644
index 0000000..fd4036a
--- /dev/null
+++ b/Git.Storage.DataAccess/Return/ReturnOrderDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:24:04
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:24:04
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Return;
+using Git.Storage.IDataAccess.Return;
+
+namespace Git.Storage.DataAccess.Return
+{
+ public partial class ReturnOrderDataAccess : DbHelper, IReturnOrder
+ {
+ public ReturnOrderDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/CusAddressDataAccess.cs b/Git.Storage.DataAccess/Store/CusAddressDataAccess.cs
new file mode 100644
index 0000000..6050ddb
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/CusAddressDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:59:57
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:59:57
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class CusAddressDataAccess : DbHelper, ICusAddress
+ {
+ public CusAddressDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/CustomerDataAccess.cs b/Git.Storage.DataAccess/Store/CustomerDataAccess.cs
new file mode 100644
index 0000000..9d70b27
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/CustomerDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:59:57
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:59:57
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class CustomerDataAccess : DbHelper, ICustomer
+ {
+ public CustomerDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/EquipmentDataAccess.cs b/Git.Storage.DataAccess/Store/EquipmentDataAccess.cs
new file mode 100644
index 0000000..e88e0ab
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/EquipmentDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:59:55
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:59:55
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class EquipmentDataAccess : DbHelper, IEquipment
+ {
+ public EquipmentDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/InventoryBookDataAccess.cs b/Git.Storage.DataAccess/Store/InventoryBookDataAccess.cs
new file mode 100644
index 0000000..a0bf052
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/InventoryBookDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/02 22:02:54
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/02 22:02:54
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class InventoryBookDataAccess : DbHelper, IInventoryBook
+ {
+ public InventoryBookDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/LocalProductDataAccess.cs b/Git.Storage.DataAccess/Store/LocalProductDataAccess.cs
new file mode 100644
index 0000000..1137103
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/LocalProductDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:30:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:30:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class LocalProductDataAccess : DbHelper, ILocalProduct
+ {
+ public LocalProductDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/LocationDataAccess.cs b/Git.Storage.DataAccess/Store/LocationDataAccess.cs
new file mode 100644
index 0000000..a913a62
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/LocationDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:59:55
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:59:55
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class LocationDataAccess : DbHelper, ILocation
+ {
+ public LocationDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/Proc_ProductReportDataAccess.cs b/Git.Storage.DataAccess/Store/Proc_ProductReportDataAccess.cs
new file mode 100644
index 0000000..b3d2b6a
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/Proc_ProductReportDataAccess.cs
@@ -0,0 +1,18 @@
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class Proc_ProductReportDataAccess : DbProcHelper, IProc_ProductReport
+ {
+ public Proc_ProductReportDataAccess()
+ {
+
+ }
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/Proc_StatisticsNumDataAccess.cs b/Git.Storage.DataAccess/Store/Proc_StatisticsNumDataAccess.cs
new file mode 100644
index 0000000..bd0b086
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/Proc_StatisticsNumDataAccess.cs
@@ -0,0 +1,18 @@
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class Proc_StatisticsNumDataAccess : DbProcHelper, IProc_StatisticsNum
+ {
+ public Proc_StatisticsNumDataAccess()
+ {
+
+ }
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/ProductCategoryDataAccess.cs b/Git.Storage.DataAccess/Store/ProductCategoryDataAccess.cs
new file mode 100644
index 0000000..258ba86
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/ProductCategoryDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:59:59
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:59:59
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class ProductCategoryDataAccess : DbHelper, IProductCategory
+ {
+ public ProductCategoryDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/ProductDataAccess.cs b/Git.Storage.DataAccess/Store/ProductDataAccess.cs
new file mode 100644
index 0000000..dd5c61b
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/ProductDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:00:01
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:00:01
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class ProductDataAccess : DbHelper, IProduct
+ {
+ public ProductDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/StorageDataAccess.cs b/Git.Storage.DataAccess/Store/StorageDataAccess.cs
new file mode 100644
index 0000000..7c37299
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/StorageDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:59:54
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:59:54
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class StorageDataAccess : DbHelper, IStorage
+ {
+ public StorageDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.DataAccess/Store/SupplierDataAccess.cs b/Git.Storage.DataAccess/Store/SupplierDataAccess.cs
new file mode 100644
index 0000000..546c60e
--- /dev/null
+++ b/Git.Storage.DataAccess/Store/SupplierDataAccess.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:59:56
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:59:56
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Framework.MsSql;
+using Git.Storage.Entity.Store;
+using Git.Storage.IDataAccess.Store;
+
+namespace Git.Storage.DataAccess.Store
+{
+ public partial class SupplierDataAccess : DbHelper, ISupplier
+ {
+ public SupplierDataAccess()
+ {
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Bad/BadReportDetailEntity.cs b/Git.Storage.Entity/Bad/BadReportDetailEntity.cs
new file mode 100644
index 0000000..13e96af
--- /dev/null
+++ b/Git.Storage.Entity/Bad/BadReportDetailEntity.cs
@@ -0,0 +1,218 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:32:00
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:32:00
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Bad
+{
+ [TableAttribute(DbName = "JooWMS", Name = "BadReportDetail", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class BadReportDetailEntity : BaseEntity
+ {
+ public BadReportDetailEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public BadReportDetailEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public BadReportDetailEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public BadReportDetailEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public BadReportDetailEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public BadReportDetailEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public BadReportDetailEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public BadReportDetailEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public BadReportDetailEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "InPrice", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double InPrice { get; set; }
+
+ public BadReportDetailEntity IncludeInPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("InPrice"))
+ {
+ this.ColumnList.Add("InPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public BadReportDetailEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public BadReportDetailEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public BadReportDetailEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FromLocalNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string FromLocalNum { get; set; }
+
+ public BadReportDetailEntity IncludeFromLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FromLocalNum"))
+ {
+ this.ColumnList.Add("FromLocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ToLocalNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ToLocalNum { get; set; }
+
+ public BadReportDetailEntity IncludeToLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ToLocalNum"))
+ {
+ this.ColumnList.Add("ToLocalNum");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class BadReportDetailEntity
+ {
+ ///
+ /// 原库位名称
+ ///
+ public string FromLocalName { get; set; }
+
+ ///
+ /// 目标库位名称
+ ///
+ public string ToLocalName { get; set; }
+
+ ///
+ /// 当前库存
+ ///
+ public double LocalNum { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Bad/BadReportEntity.cs b/Git.Storage.Entity/Bad/BadReportEntity.cs
new file mode 100644
index 0000000..de2fb6b
--- /dev/null
+++ b/Git.Storage.Entity/Bad/BadReportEntity.cs
@@ -0,0 +1,324 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:31:59
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:31:59
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Bad
+{
+ [TableAttribute(DbName = "JooWMS", Name = "BadReport", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class BadReportEntity : BaseEntity
+ {
+ public BadReportEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public BadReportEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public BadReportEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BadType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 BadType { get; set; }
+
+ public BadReportEntity IncludeBadType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BadType"))
+ {
+ this.ColumnList.Add("BadType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ProductType { get; set; }
+
+ public BadReportEntity IncludeProductType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductType"))
+ {
+ this.ColumnList.Add("ProductType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public BadReportEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public BadReportEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public BadReportEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public BadReportEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public BadReportEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Weight", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Weight { get; set; }
+
+ public BadReportEntity IncludeWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Weight"))
+ {
+ this.ColumnList.Add("Weight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public BadReportEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public BadReportEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public BadReportEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string AuditUser { get; set; }
+
+ public BadReportEntity IncludeAuditUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditUser"))
+ {
+ this.ColumnList.Add("AuditUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditeTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime AuditeTime { get; set; }
+
+ public BadReportEntity IncludeAuditeTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditeTime"))
+ {
+ this.ColumnList.Add("AuditeTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string PrintUser { get; set; }
+
+ public BadReportEntity IncludePrintUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintUser"))
+ {
+ this.ColumnList.Add("PrintUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime PrintTime { get; set; }
+
+ public BadReportEntity IncludePrintTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintTime"))
+ {
+ this.ColumnList.Add("PrintTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Reason { get; set; }
+
+ public BadReportEntity IncludeReason(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Reason"))
+ {
+ this.ColumnList.Add("Reason");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 OperateType { get; set; }
+
+ public BadReportEntity IncludeOperateType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OperateType"))
+ {
+ this.ColumnList.Add("OperateType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentNum { get; set; }
+
+ public BadReportEntity IncludeEquipmentNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentNum"))
+ {
+ this.ColumnList.Add("EquipmentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentCode { get; set; }
+
+ public BadReportEntity IncludeEquipmentCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentCode"))
+ {
+ this.ColumnList.Add("EquipmentCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public BadReportEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class BadReportEntity
+ {
+ ///
+ /// 审核状态
+ ///
+ [DataMapping(ColumnName = "StatusLable", DbType = DbType.String)]
+ public string StatusLable { get; set; }
+
+ ///
+ /// 产品名称
+ ///
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String)]
+ public string ProductName { get; set; }
+
+ ///
+ /// 条码编号
+ ///
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String)]
+ public string BarCode { get; set; }
+
+ ///
+ /// 产品编号
+ ///
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String)]
+ public string ProductNum { get; set; }
+
+ public double NumPCT { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Bad/Proc_AuditeBadReportEntity.cs b/Git.Storage.Entity/Bad/Proc_AuditeBadReportEntity.cs
new file mode 100644
index 0000000..fad5c6f
--- /dev/null
+++ b/Git.Storage.Entity/Bad/Proc_AuditeBadReportEntity.cs
@@ -0,0 +1,43 @@
+using Git.Framework.ORM;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Entity.Bad
+{
+
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_AuditeBadReport", IsInternal = false, MapType = MapType.Proc)]
+ public partial class Proc_AuditeBadReportEntity : BaseEntity
+ {
+ public Proc_AuditeBadReportEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string OrderNum { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string AuditUser { get; set; }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 400, ColumnType = ColumnType.InPut)]
+ public string Reason { get; set; }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 OperateType { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentNum { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentCode { get; set; }
+
+ [DataMapping(ColumnName = "ReturnValue", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InOutPut)]
+ public string ReturnValue { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Bad/Proc_BadTOP10NumEntity.cs b/Git.Storage.Entity/Bad/Proc_BadTOP10NumEntity.cs
new file mode 100644
index 0000000..5e43278
--- /dev/null
+++ b/Git.Storage.Entity/Bad/Proc_BadTOP10NumEntity.cs
@@ -0,0 +1,56 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/06/09 14:54:34
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/06/09 14:54:34
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Bad
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_BadTOP10Num", IsInternal = false, MapType = MapType.Proc)]
+ public partial class Proc_BadTOP10NumEntity : BaseEntity
+ {
+ public Proc_BadTOP10NumEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string ProductNum { get; set; }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string StorageNum { get; set; }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 100, ColumnType = ColumnType.InOutPut)]
+ public string ProductName { get; set; }
+
+ [DataMapping(ColumnName = "TotalNum", DbType = DbType.Double, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public double TotalNum { get; set; }
+
+ [DataMapping(ColumnName = "BeginTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InPut)]
+ public DateTime BeginTime { get; set; }
+
+ [DataMapping(ColumnName = "EndTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InPut)]
+ public DateTime EndTime { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 IsDelete { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/AdminEntity.cs b/Git.Storage.Entity/Base/AdminEntity.cs
new file mode 100644
index 0000000..cdc1c08
--- /dev/null
+++ b/Git.Storage.Entity/Base/AdminEntity.cs
@@ -0,0 +1,285 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:54:40
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:54:40
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Admin", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class AdminEntity : BaseEntity
+ {
+ public AdminEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public AdminEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UserName", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string UserName { get; set; }
+
+ public AdminEntity IncludeUserName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UserName"))
+ {
+ this.ColumnList.Add("UserName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PassWord", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string PassWord { get; set; }
+
+ public AdminEntity IncludePassWord(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PassWord"))
+ {
+ this.ColumnList.Add("PassWord");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UserCode", DbType = DbType.String, Length = 40, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string UserCode { get; set; }
+
+ public AdminEntity IncludeUserCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UserCode"))
+ {
+ this.ColumnList.Add("UserCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RealName", DbType = DbType.String, Length = 40, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string RealName { get; set; }
+
+ public AdminEntity IncludeRealName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RealName"))
+ {
+ this.ColumnList.Add("RealName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Email", DbType = DbType.String, Length = 30, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Email { get; set; }
+
+ public AdminEntity IncludeEmail(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Email"))
+ {
+ this.ColumnList.Add("Email");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Mobile", DbType = DbType.String, Length = 11, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Mobile { get; set; }
+
+ public AdminEntity IncludeMobile(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Mobile"))
+ {
+ this.ColumnList.Add("Mobile");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Phone", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Phone { get; set; }
+
+ public AdminEntity IncludePhone(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Phone"))
+ {
+ this.ColumnList.Add("Phone");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public AdminEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateIp", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateIp { get; set; }
+
+ public AdminEntity IncludeCreateIp(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateIp"))
+ {
+ this.ColumnList.Add("CreateIp");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 30, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public AdminEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LoginCount", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 LoginCount { get; set; }
+
+ public AdminEntity IncludeLoginCount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LoginCount"))
+ {
+ this.ColumnList.Add("LoginCount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Picture", DbType = DbType.String, Length = 60, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Picture { get; set; }
+
+ public AdminEntity IncludePicture(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Picture"))
+ {
+ this.ColumnList.Add("Picture");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UpdateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime UpdateTime { get; set; }
+
+ public AdminEntity IncludeUpdateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UpdateTime"))
+ {
+ this.ColumnList.Add("UpdateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int16, Length = 2, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int16 IsDelete { get; set; }
+
+ public AdminEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int16, Length = 2, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int16 Status { get; set; }
+
+ public AdminEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DepartNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string DepartNum { get; set; }
+
+ public AdminEntity IncludeDepartNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DepartNum"))
+ {
+ this.ColumnList.Add("DepartNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParentCode", DbType = DbType.String, Length = 40, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ParentCode { get; set; }
+
+ public AdminEntity IncludeParentCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParentCode"))
+ {
+ this.ColumnList.Add("ParentCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RoleNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string RoleNum { get; set; }
+
+ public AdminEntity IncludeRoleNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RoleNum"))
+ {
+ this.ColumnList.Add("RoleNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public AdminEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class AdminEntity
+ {
+ ///
+ /// 角色名称
+ ///
+ [DataMapping(ColumnName = "RoleName", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string RoleName { get; set; }
+ ///
+ /// 部门名称
+ ///
+ [DataMapping(ColumnName = "DepartName", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string DepartName { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Base/MeasureEntity.cs b/Git.Storage.Entity/Base/MeasureEntity.cs
new file mode 100644
index 0000000..29c892e
--- /dev/null
+++ b/Git.Storage.Entity/Base/MeasureEntity.cs
@@ -0,0 +1,80 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:00:56
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:00:56
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Measure", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class MeasureEntity:BaseEntity
+ {
+ public MeasureEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public MeasureEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SN", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string SN { get; set; }
+
+ public MeasureEntity IncludeSN (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SN"))
+ {
+ this.ColumnList.Add("SN");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MeasureNum", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string MeasureNum { get; set; }
+
+ public MeasureEntity IncludeMeasureNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MeasureNum"))
+ {
+ this.ColumnList.Add("MeasureNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MeasureName", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string MeasureName { get; set; }
+
+ public MeasureEntity IncludeMeasureName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MeasureName"))
+ {
+ this.ColumnList.Add("MeasureName");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/MeasureRelEntity.cs b/Git.Storage.Entity/Base/MeasureRelEntity.cs
new file mode 100644
index 0000000..7a44a20
--- /dev/null
+++ b/Git.Storage.Entity/Base/MeasureRelEntity.cs
@@ -0,0 +1,92 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:01:01
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:01:01
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "MeasureRel", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class MeasureRelEntity:BaseEntity
+ {
+ public MeasureRelEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public MeasureRelEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SN", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string SN { get; set; }
+
+ public MeasureRelEntity IncludeSN (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SN"))
+ {
+ this.ColumnList.Add("SN");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MeasureSource", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string MeasureSource { get; set; }
+
+ public MeasureRelEntity IncludeMeasureSource (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MeasureSource"))
+ {
+ this.ColumnList.Add("MeasureSource");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MeasureTarget", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string MeasureTarget { get; set; }
+
+ public MeasureRelEntity IncludeMeasureTarget (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MeasureTarget"))
+ {
+ this.ColumnList.Add("MeasureTarget");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Rate", DbType = DbType.Double,Length=8,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public double Rate { get; set; }
+
+ public MeasureRelEntity IncludeRate (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Rate"))
+ {
+ this.ColumnList.Add("Rate");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/SequenceEntity.cs b/Git.Storage.Entity/Base/SequenceEntity.cs
new file mode 100644
index 0000000..5848866
--- /dev/null
+++ b/Git.Storage.Entity/Base/SequenceEntity.cs
@@ -0,0 +1,260 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/10/08 11:42:17
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/10/08 11:42:17
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Sequence", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class SequenceEntity:BaseEntity
+ {
+ public SequenceEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public SequenceEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SN", DbType = DbType.String,Length=50,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string SN { get; set; }
+
+ public SequenceEntity IncludeSN (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SN"))
+ {
+ this.ColumnList.Add("SN");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "TabName", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string TabName { get; set; }
+
+ public SequenceEntity IncludeTabName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("TabName"))
+ {
+ this.ColumnList.Add("TabName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FirstType", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 FirstType { get; set; }
+
+ public SequenceEntity IncludeFirstType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FirstType"))
+ {
+ this.ColumnList.Add("FirstType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FirstRule", DbType = DbType.String,Length=200,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string FirstRule { get; set; }
+
+ public SequenceEntity IncludeFirstRule (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FirstRule"))
+ {
+ this.ColumnList.Add("FirstRule");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FirstLength", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 FirstLength { get; set; }
+
+ public SequenceEntity IncludeFirstLength (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FirstLength"))
+ {
+ this.ColumnList.Add("FirstLength");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SecondType", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 SecondType { get; set; }
+
+ public SequenceEntity IncludeSecondType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SecondType"))
+ {
+ this.ColumnList.Add("SecondType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SecondRule", DbType = DbType.String,Length=200,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string SecondRule { get; set; }
+
+ public SequenceEntity IncludeSecondRule (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SecondRule"))
+ {
+ this.ColumnList.Add("SecondRule");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SecondLength", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 SecondLength { get; set; }
+
+ public SequenceEntity IncludeSecondLength (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SecondLength"))
+ {
+ this.ColumnList.Add("SecondLength");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ThirdType", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 ThirdType { get; set; }
+
+ public SequenceEntity IncludeThirdType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ThirdType"))
+ {
+ this.ColumnList.Add("ThirdType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ThirdRule", DbType = DbType.String,Length=200,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ThirdRule { get; set; }
+
+ public SequenceEntity IncludeThirdRule (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ThirdRule"))
+ {
+ this.ColumnList.Add("ThirdRule");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ThirdLength", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 ThirdLength { get; set; }
+
+ public SequenceEntity IncludeThirdLength (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ThirdLength"))
+ {
+ this.ColumnList.Add("ThirdLength");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FourType", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 FourType { get; set; }
+
+ public SequenceEntity IncludeFourType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FourType"))
+ {
+ this.ColumnList.Add("FourType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FourRule", DbType = DbType.String,Length=200,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string FourRule { get; set; }
+
+ public SequenceEntity IncludeFourRule (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FourRule"))
+ {
+ this.ColumnList.Add("FourRule");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FourLength", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 FourLength { get; set; }
+
+ public SequenceEntity IncludeFourLength (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FourLength"))
+ {
+ this.ColumnList.Add("FourLength");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "JoinChar", DbType = DbType.String,Length=10,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string JoinChar { get; set; }
+
+ public SequenceEntity IncludeJoinChar (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("JoinChar"))
+ {
+ this.ColumnList.Add("JoinChar");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Sample", DbType = DbType.String,Length=200,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Sample { get; set; }
+
+ public SequenceEntity IncludeSample (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Sample"))
+ {
+ this.ColumnList.Add("Sample");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CurrentValue", DbType = DbType.String,Length=200,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CurrentValue { get; set; }
+
+ public SequenceEntity IncludeCurrentValue (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CurrentValue"))
+ {
+ this.ColumnList.Add("CurrentValue");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Remark { get; set; }
+
+ public SequenceEntity IncludeRemark (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/SysDepartEntity.cs b/Git.Storage.Entity/Base/SysDepartEntity.cs
new file mode 100644
index 0000000..cc5ccc8
--- /dev/null
+++ b/Git.Storage.Entity/Base/SysDepartEntity.cs
@@ -0,0 +1,135 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:54:38
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:54:38
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "SysDepart", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class SysDepartEntity:BaseEntity
+ {
+ public SysDepartEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public SysDepartEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DepartNum", DbType = DbType.String,Length=20,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string DepartNum { get; set; }
+
+ public SysDepartEntity IncludeDepartNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DepartNum"))
+ {
+ this.ColumnList.Add("DepartNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DepartName", DbType = DbType.String,Length=40,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string DepartName { get; set; }
+
+ public SysDepartEntity IncludeDepartName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DepartName"))
+ {
+ this.ColumnList.Add("DepartName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ChildCount", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 ChildCount { get; set; }
+
+ public SysDepartEntity IncludeChildCount (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ChildCount"))
+ {
+ this.ColumnList.Add("ChildCount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParentNum", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ParentNum { get; set; }
+
+ public SysDepartEntity IncludeParentNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParentNum"))
+ {
+ this.ColumnList.Add("ParentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Depth", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 Depth { get; set; }
+
+ public SysDepartEntity IncludeDepth (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Depth"))
+ {
+ this.ColumnList.Add("Depth");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 IsDelete { get; set; }
+
+ public SysDepartEntity IncludeIsDelete (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime,Length=8,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime CreateTime { get; set; }
+
+ public SysDepartEntity IncludeCreateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class SysDepartEntity
+ {
+ ///
+ /// 上级部门名称
+ ///
+ public string ParentName { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Base/SysRelationEntity.cs b/Git.Storage.Entity/Base/SysRelationEntity.cs
new file mode 100644
index 0000000..47ef326
--- /dev/null
+++ b/Git.Storage.Entity/Base/SysRelationEntity.cs
@@ -0,0 +1,78 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:54:41
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:54:41
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "SysRelation", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class SysRelationEntity:BaseEntity
+ {
+ public SysRelationEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public SysRelationEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RoleNum", DbType = DbType.String,Length=20,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string RoleNum { get; set; }
+
+ public SysRelationEntity IncludeRoleNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RoleNum"))
+ {
+ this.ColumnList.Add("RoleNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ResNum", DbType = DbType.String,Length=20,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ResNum { get; set; }
+
+ public SysRelationEntity IncludeResNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ResNum"))
+ {
+ this.ColumnList.Add("ResNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ResType", DbType = DbType.Int16, Length = 2, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int16 ResType { get; set; }
+
+ public SysRelationEntity IncludeResType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ResType"))
+ {
+ this.ColumnList.Add("ResType");
+ }
+ return this;
+ }
+ }
+}
diff --git a/Git.Storage.Entity/Base/SysResourceEntity.cs b/Git.Storage.Entity/Base/SysResourceEntity.cs
new file mode 100644
index 0000000..a96022e
--- /dev/null
+++ b/Git.Storage.Entity/Base/SysResourceEntity.cs
@@ -0,0 +1,283 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:54:40
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:54:40
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "SysResource", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class SysResourceEntity:BaseEntity
+ {
+ public SysResourceEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public SysResourceEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ResNum", DbType = DbType.String,Length=20,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ResNum { get; set; }
+
+ public SysResourceEntity IncludeResNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ResNum"))
+ {
+ this.ColumnList.Add("ResNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ResName", DbType = DbType.String,Length=40,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ResName { get; set; }
+
+ public SysResourceEntity IncludeResName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ResName"))
+ {
+ this.ColumnList.Add("ResName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParentNum", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ParentNum { get; set; }
+
+ public SysResourceEntity IncludeParentNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParentNum"))
+ {
+ this.ColumnList.Add("ParentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Depth", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 Depth { get; set; }
+
+ public SysResourceEntity IncludeDepth (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Depth"))
+ {
+ this.ColumnList.Add("Depth");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParentPath", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ParentPath { get; set; }
+
+ public SysResourceEntity IncludeParentPath (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParentPath"))
+ {
+ this.ColumnList.Add("ParentPath");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ChildCount", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 ChildCount { get; set; }
+
+ public SysResourceEntity IncludeChildCount (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ChildCount"))
+ {
+ this.ColumnList.Add("ChildCount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Sort", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 Sort { get; set; }
+
+ public SysResourceEntity IncludeSort (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Sort"))
+ {
+ this.ColumnList.Add("Sort");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsHide", DbType = DbType.Int16,Length=2,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int16 IsHide { get; set; }
+
+ public SysResourceEntity IncludeIsHide (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsHide"))
+ {
+ this.ColumnList.Add("IsHide");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int16,Length=2,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int16 IsDelete { get; set; }
+
+ public SysResourceEntity IncludeIsDelete (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Url", DbType = DbType.String,Length=200,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Url { get; set; }
+
+ public SysResourceEntity IncludeUrl (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Url"))
+ {
+ this.ColumnList.Add("Url");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CssName", DbType = DbType.String,Length=15,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CssName { get; set; }
+
+ public SysResourceEntity IncludeCssName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CssName"))
+ {
+ this.ColumnList.Add("CssName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime,Length=8,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime CreateTime { get; set; }
+
+ public SysResourceEntity IncludeCreateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Depart", DbType = DbType.Int16,Length=2,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int16 Depart { get; set; }
+
+ public SysResourceEntity IncludeDepart (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Depart"))
+ {
+ this.ColumnList.Add("Depart");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ResType", DbType = DbType.Int16,Length=2,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int16 ResType { get; set; }
+
+ public SysResourceEntity IncludeResType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ResType"))
+ {
+ this.ColumnList.Add("ResType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UpdateTime", DbType = DbType.DateTime,Length=8,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime UpdateTime { get; set; }
+
+ public SysResourceEntity IncludeUpdateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UpdateTime"))
+ {
+ this.ColumnList.Add("UpdateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String,Length=40,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CreateUser { get; set; }
+
+ public SysResourceEntity IncludeCreateUser (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UpdateUser", DbType = DbType.String,Length=40,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string UpdateUser { get; set; }
+
+ public SysResourceEntity IncludeUpdateUser (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UpdateUser"))
+ {
+ this.ColumnList.Add("UpdateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateIp", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CreateIp { get; set; }
+
+ public SysResourceEntity IncludeCreateIp (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateIp"))
+ {
+ this.ColumnList.Add("CreateIp");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UpdateIp", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string UpdateIp { get; set; }
+
+ public SysResourceEntity IncludeUpdateIp (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UpdateIp"))
+ {
+ this.ColumnList.Add("UpdateIp");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Remark { get; set; }
+
+ public SysResourceEntity IncludeRemark (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/SysResourceExtensionEntity.cs b/Git.Storage.Entity/Base/SysResourceExtensionEntity.cs
new file mode 100644
index 0000000..76c9e7a
--- /dev/null
+++ b/Git.Storage.Entity/Base/SysResourceExtensionEntity.cs
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-10-28 23:12:36
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-10-28 23:12:36 情缘
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Entity.Base
+{
+ public partial class SysResourceEntity
+ {
+ public string ParentName { get; set; }
+
+ public string ResouceType { get; set; }
+
+
+ public SysResourceEntity Parent { get; set; }
+
+ public List Children { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Base/SysRoleEntity.cs b/Git.Storage.Entity/Base/SysRoleEntity.cs
new file mode 100644
index 0000000..956ec9c
--- /dev/null
+++ b/Git.Storage.Entity/Base/SysRoleEntity.cs
@@ -0,0 +1,103 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:54:39
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:54:39
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "SysRole", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class SysRoleEntity:BaseEntity
+ {
+ public SysRoleEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public SysRoleEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RoleNum", DbType = DbType.String,Length=20,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string RoleNum { get; set; }
+
+ public SysRoleEntity IncludeRoleNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RoleNum"))
+ {
+ this.ColumnList.Add("RoleNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RoleName", DbType = DbType.String,Length=40,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string RoleName { get; set; }
+
+ public SysRoleEntity IncludeRoleName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RoleName"))
+ {
+ this.ColumnList.Add("RoleName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 IsDelete { get; set; }
+
+ public SysRoleEntity IncludeIsDelete (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime,Length=8,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime CreateTime { get; set; }
+
+ public SysRoleEntity IncludeCreateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Remark { get; set; }
+
+ public SysRoleEntity IncludeRemark (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/TNumEntity.cs b/Git.Storage.Entity/Base/TNumEntity.cs
new file mode 100644
index 0000000..6e41212
--- /dev/null
+++ b/Git.Storage.Entity/Base/TNumEntity.cs
@@ -0,0 +1,104 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:01:06
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:01:06
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "TNum", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class TNumEntity:BaseEntity
+ {
+ public TNumEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public TNumEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 Num { get; set; }
+
+ public TNumEntity IncludeNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MinNum", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 MinNum { get; set; }
+
+ public TNumEntity IncludeMinNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MinNum"))
+ {
+ this.ColumnList.Add("MinNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MaxNum", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 MaxNum { get; set; }
+
+ public TNumEntity IncludeMaxNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MaxNum"))
+ {
+ this.ColumnList.Add("MaxNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Day", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Day { get; set; }
+
+ public TNumEntity IncludeDay (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Day"))
+ {
+ this.ColumnList.Add("Day");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "TabName", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string TabName { get; set; }
+
+ public TNumEntity IncludeTabName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("TabName"))
+ {
+ this.ColumnList.Add("TabName");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/VnAreaEntity.cs b/Git.Storage.Entity/Base/VnAreaEntity.cs
new file mode 100644
index 0000000..473b088
--- /dev/null
+++ b/Git.Storage.Entity/Base/VnAreaEntity.cs
@@ -0,0 +1,91 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:54:43
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:54:43
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "VnArea", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class VnAreaEntity:BaseEntity
+ {
+ public VnAreaEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public VnAreaEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Code", DbType = DbType.String,Length=10,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Code { get; set; }
+
+ public VnAreaEntity IncludeCode (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Code"))
+ {
+ this.ColumnList.Add("Code");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AName", DbType = DbType.String,Length=30,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string AName { get; set; }
+
+ public VnAreaEntity IncludeAName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AName"))
+ {
+ this.ColumnList.Add("AName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ANameEn", DbType = DbType.String,Length=30,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ANameEn { get; set; }
+
+ public VnAreaEntity IncludeANameEn (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ANameEn"))
+ {
+ this.ColumnList.Add("ANameEn");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CCode", DbType = DbType.String,Length=10,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CCode { get; set; }
+
+ public VnAreaEntity IncludeCCode (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CCode"))
+ {
+ this.ColumnList.Add("CCode");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/VnCityEntity.cs b/Git.Storage.Entity/Base/VnCityEntity.cs
new file mode 100644
index 0000000..81bd570
--- /dev/null
+++ b/Git.Storage.Entity/Base/VnCityEntity.cs
@@ -0,0 +1,91 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:54:42
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:54:42
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "VnCity", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class VnCityEntity:BaseEntity
+ {
+ public VnCityEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public VnCityEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Code", DbType = DbType.String,Length=10,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Code { get; set; }
+
+ public VnCityEntity IncludeCode (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Code"))
+ {
+ this.ColumnList.Add("Code");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CName", DbType = DbType.String,Length=30,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CName { get; set; }
+
+ public VnCityEntity IncludeCName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CName"))
+ {
+ this.ColumnList.Add("CName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CNameEn", DbType = DbType.String,Length=30,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CNameEn { get; set; }
+
+ public VnCityEntity IncludeCNameEn (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CNameEn"))
+ {
+ this.ColumnList.Add("CNameEn");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PCode", DbType = DbType.String,Length=10,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string PCode { get; set; }
+
+ public VnCityEntity IncludePCode (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PCode"))
+ {
+ this.ColumnList.Add("PCode");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Base/VnProvinceEntity.cs b/Git.Storage.Entity/Base/VnProvinceEntity.cs
new file mode 100644
index 0000000..396ceed
--- /dev/null
+++ b/Git.Storage.Entity/Base/VnProvinceEntity.cs
@@ -0,0 +1,79 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:54:42
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:54:42
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Base
+{
+ [TableAttribute(DbName = "JooWMS", Name = "VnProvince", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class VnProvinceEntity:BaseEntity
+ {
+ public VnProvinceEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public VnProvinceEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Code", DbType = DbType.String,Length=10,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Code { get; set; }
+
+ public VnProvinceEntity IncludeCode (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Code"))
+ {
+ this.ColumnList.Add("Code");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PName", DbType = DbType.String,Length=30,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string PName { get; set; }
+
+ public VnProvinceEntity IncludePName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PName"))
+ {
+ this.ColumnList.Add("PName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PNameEn", DbType = DbType.String,Length=30,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string PNameEn { get; set; }
+
+ public VnProvinceEntity IncludePNameEn (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PNameEn"))
+ {
+ this.ColumnList.Add("PNameEn");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Check/CheckDataEntity.cs b/Git.Storage.Entity/Check/CheckDataEntity.cs
new file mode 100644
index 0000000..774f46e
--- /dev/null
+++ b/Git.Storage.Entity/Check/CheckDataEntity.cs
@@ -0,0 +1,223 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:31:34
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:31:34
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Check
+{
+ [TableAttribute(DbName = "JooWMS", Name = "CheckData", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class CheckDataEntity : BaseEntity
+ {
+ public CheckDataEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public CheckDataEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public CheckDataEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public CheckDataEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalName { get; set; }
+
+ public CheckDataEntity IncludeLocalName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalName"))
+ {
+ this.ColumnList.Add("LocalName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public CheckDataEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public CheckDataEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public CheckDataEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public CheckDataEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public CheckDataEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalQty", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double LocalQty { get; set; }
+
+ public CheckDataEntity IncludeLocalQty(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalQty"))
+ {
+ this.ColumnList.Add("LocalQty");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FirstQty", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double FirstQty { get; set; }
+
+ public CheckDataEntity IncludeFirstQty(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FirstQty"))
+ {
+ this.ColumnList.Add("FirstQty");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SecondQty", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double SecondQty { get; set; }
+
+ public CheckDataEntity IncludeSecondQty(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SecondQty"))
+ {
+ this.ColumnList.Add("SecondQty");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DifQty", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double DifQty { get; set; }
+
+ public CheckDataEntity IncludeDifQty(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DifQty"))
+ {
+ this.ColumnList.Add("DifQty");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FirstUser", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string FirstUser { get; set; }
+
+ public CheckDataEntity IncludeFirstUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FirstUser"))
+ {
+ this.ColumnList.Add("FirstUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SecondUser", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SecondUser { get; set; }
+
+ public CheckDataEntity IncludeSecondUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SecondUser"))
+ {
+ this.ColumnList.Add("SecondUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public CheckDataEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Check/CheckStockEntity.cs b/Git.Storage.Entity/Check/CheckStockEntity.cs
new file mode 100644
index 0000000..3e379ed
--- /dev/null
+++ b/Git.Storage.Entity/Check/CheckStockEntity.cs
@@ -0,0 +1,307 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:31:28
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:31:28
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Check
+{
+ [TableAttribute(DbName = "JooWMS", Name = "CheckStock", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class CheckStockEntity : BaseEntity
+ {
+ public CheckStockEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public CheckStockEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public CheckStockEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Type", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Type { get; set; }
+
+ public CheckStockEntity IncludeType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Type"))
+ {
+ this.ColumnList.Add("Type");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ProductType { get; set; }
+
+ public CheckStockEntity IncludeProductType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductType"))
+ {
+ this.ColumnList.Add("ProductType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public CheckStockEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public CheckStockEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public CheckStockEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalQty", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double LocalQty { get; set; }
+
+ public CheckStockEntity IncludeLocalQty(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalQty"))
+ {
+ this.ColumnList.Add("LocalQty");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CheckQty", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double CheckQty { get; set; }
+
+ public CheckStockEntity IncludeCheckQty(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CheckQty"))
+ {
+ this.ColumnList.Add("CheckQty");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public CheckStockEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsComplete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsComplete { get; set; }
+
+ public CheckStockEntity IncludeIsComplete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsComplete"))
+ {
+ this.ColumnList.Add("IsComplete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public CheckStockEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public CheckStockEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string AuditUser { get; set; }
+
+ public CheckStockEntity IncludeAuditUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditUser"))
+ {
+ this.ColumnList.Add("AuditUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditeTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime AuditeTime { get; set; }
+
+ public CheckStockEntity IncludeAuditeTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditeTime"))
+ {
+ this.ColumnList.Add("AuditeTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string PrintUser { get; set; }
+
+ public CheckStockEntity IncludePrintUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintUser"))
+ {
+ this.ColumnList.Add("PrintUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime PrintTime { get; set; }
+
+ public CheckStockEntity IncludePrintTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintTime"))
+ {
+ this.ColumnList.Add("PrintTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Reason { get; set; }
+
+ public CheckStockEntity IncludeReason(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Reason"))
+ {
+ this.ColumnList.Add("Reason");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 OperateType { get; set; }
+
+ public CheckStockEntity IncludeOperateType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OperateType"))
+ {
+ this.ColumnList.Add("OperateType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentNum { get; set; }
+
+ public CheckStockEntity IncludeEquipmentNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentNum"))
+ {
+ this.ColumnList.Add("EquipmentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentCode { get; set; }
+
+ public CheckStockEntity IncludeEquipmentCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentCode"))
+ {
+ this.ColumnList.Add("EquipmentCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public CheckStockEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class CheckStockEntity
+ {
+ [DataMapping(ColumnName = "CreateUserName", DbType = DbType.String)]
+ public string CreateUserName { get; set; }
+
+ public string CheckTypeLable { get; set; }
+
+ public string ProductTypeLable { get; set; }
+
+ public string StatusLable { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Check/CheckStockInfoEntity.cs b/Git.Storage.Entity/Check/CheckStockInfoEntity.cs
new file mode 100644
index 0000000..095fe93
--- /dev/null
+++ b/Git.Storage.Entity/Check/CheckStockInfoEntity.cs
@@ -0,0 +1,99 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:31:32
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:31:32
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Check
+{
+ [TableAttribute(DbName = "JooWMS", Name = "CheckStockInfo", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class CheckStockInfoEntity : BaseEntity
+ {
+ public CheckStockInfoEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public CheckStockInfoEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public CheckStockInfoEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public CheckStockInfoEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "TargetNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string TargetNum { get; set; }
+
+ public CheckStockInfoEntity IncludeTargetNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("TargetNum"))
+ {
+ this.ColumnList.Add("TargetNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public CheckStockInfoEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class CheckStockInfoEntity
+ {
+ ///
+ /// 库位名称
+ ///
+ public string LocalName { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Check/CloneHistoryEntity.cs b/Git.Storage.Entity/Check/CloneHistoryEntity.cs
new file mode 100644
index 0000000..78e36b2
--- /dev/null
+++ b/Git.Storage.Entity/Check/CloneHistoryEntity.cs
@@ -0,0 +1,247 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:31:38
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:31:38
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Check
+{
+ [TableAttribute(DbName = "JooWMS", Name = "CloneHistory", PrimaryKeyName = "CloneID", IsInternal = false)]
+ public partial class CloneHistoryEntity : BaseEntity
+ {
+ public CloneHistoryEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "CloneID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 CloneID { get; set; }
+
+ public CloneHistoryEntity IncludeCloneID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CloneID"))
+ {
+ this.ColumnList.Add("CloneID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public CloneHistoryEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public CloneHistoryEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Sn", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Sn { get; set; }
+
+ public CloneHistoryEntity IncludeSn(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Sn"))
+ {
+ this.ColumnList.Add("Sn");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public CloneHistoryEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageName { get; set; }
+
+ public CloneHistoryEntity IncludeStorageName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageName"))
+ {
+ this.ColumnList.Add("StorageName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public CloneHistoryEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalName { get; set; }
+
+ public CloneHistoryEntity IncludeLocalName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalName"))
+ {
+ this.ColumnList.Add("LocalName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalType", DbType = DbType.Int32, Length = 4, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 LocalType { get; set; }
+
+ public CloneHistoryEntity IncludeLocalType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalType"))
+ {
+ this.ColumnList.Add("LocalType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public CloneHistoryEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public CloneHistoryEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public CloneHistoryEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public CloneHistoryEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public CloneHistoryEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public CloneHistoryEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public CloneHistoryEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateName { get; set; }
+
+ public CloneHistoryEntity IncludeCreateName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateName"))
+ {
+ this.ColumnList.Add("CreateName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public CloneHistoryEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Check/CloneTempEntity.cs b/Git.Storage.Entity/Check/CloneTempEntity.cs
new file mode 100644
index 0000000..5335190
--- /dev/null
+++ b/Git.Storage.Entity/Check/CloneTempEntity.cs
@@ -0,0 +1,247 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:31:35
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:31:35
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Check
+{
+ [TableAttribute(DbName = "JooWMS", Name = "CloneTemp", PrimaryKeyName = "CloneID", IsInternal = false)]
+ public partial class CloneTempEntity : BaseEntity
+ {
+ public CloneTempEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "CloneID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 CloneID { get; set; }
+
+ public CloneTempEntity IncludeCloneID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CloneID"))
+ {
+ this.ColumnList.Add("CloneID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public CloneTempEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public CloneTempEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Sn", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Sn { get; set; }
+
+ public CloneTempEntity IncludeSn(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Sn"))
+ {
+ this.ColumnList.Add("Sn");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public CloneTempEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageName { get; set; }
+
+ public CloneTempEntity IncludeStorageName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageName"))
+ {
+ this.ColumnList.Add("StorageName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public CloneTempEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalName { get; set; }
+
+ public CloneTempEntity IncludeLocalName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalName"))
+ {
+ this.ColumnList.Add("LocalName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalType", DbType = DbType.Int32, Length = 4, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 LocalType { get; set; }
+
+ public CloneTempEntity IncludeLocalType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalType"))
+ {
+ this.ColumnList.Add("LocalType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public CloneTempEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public CloneTempEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public CloneTempEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public CloneTempEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public CloneTempEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public CloneTempEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public CloneTempEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateName { get; set; }
+
+ public CloneTempEntity IncludeCreateName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateName"))
+ {
+ this.ColumnList.Add("CreateName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public CloneTempEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Check/Proc_AuditeCheckEntity.cs b/Git.Storage.Entity/Check/Proc_AuditeCheckEntity.cs
new file mode 100644
index 0000000..ba98b11
--- /dev/null
+++ b/Git.Storage.Entity/Check/Proc_AuditeCheckEntity.cs
@@ -0,0 +1,55 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/15 21:38:06
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/15 21:38:06
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Check
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_AuditeCheck", IsInternal = false,MapType=MapType.Proc)]
+ public partial class Proc_AuditeCheckEntity:BaseEntity
+ {
+ public Proc_AuditeCheckEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string OrderNum { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string AuditUser { get; set; }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Reason { get; set; }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 OperateType { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentNum { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentCode { get; set; }
+
+ [DataMapping(ColumnName = "ReturnValue", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InOutPut)]
+ public string ReturnValue { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Check/Proc_CreateCheckEntity.cs b/Git.Storage.Entity/Check/Proc_CreateCheckEntity.cs
new file mode 100644
index 0000000..c2a08fc
--- /dev/null
+++ b/Git.Storage.Entity/Check/Proc_CreateCheckEntity.cs
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/15 10:47:44
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/15 10:47:44
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Check
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_CreateCheck", IsInternal = false,MapType=MapType.Proc)]
+ public partial class Proc_CreateCheckEntity:BaseEntity
+ {
+ public Proc_CreateCheckEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 20,ColumnType=ColumnType.InPut)]
+ public string OrderNum { get; set; }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string CreateUser { get; set; }
+
+ [DataMapping(ColumnName = "CreateName", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string CreateName { get; set; }
+
+ [DataMapping(ColumnName = "ReturnValue", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InOutPut)]
+ public string ReturnValue { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Git.Storage.Entity.csproj b/Git.Storage.Entity/Git.Storage.Entity.csproj
new file mode 100644
index 0000000..963f72c
--- /dev/null
+++ b/Git.Storage.Entity/Git.Storage.Entity.csproj
@@ -0,0 +1,115 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {62F1847E-3906-43DA-A80F-9977FB31F5EA}
+ Library
+ Properties
+ Git.Storage.Entity
+ Git.Storage.Entity
+ v4.0
+ 512
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\Lib\Git.Framework.ORM.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Git.Storage.Entity/Git.Storage.Entity.csproj.user b/Git.Storage.Entity/Git.Storage.Entity.csproj.user
new file mode 100644
index 0000000..07dbd5b
--- /dev/null
+++ b/Git.Storage.Entity/Git.Storage.Entity.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ ProjectFiles
+
+
\ No newline at end of file
diff --git a/Git.Storage.Entity/InStorage/InStorDetailEntity.cs b/Git.Storage.Entity/InStorage/InStorDetailEntity.cs
new file mode 100644
index 0000000..2b7828b
--- /dev/null
+++ b/Git.Storage.Entity/InStorage/InStorDetailEntity.cs
@@ -0,0 +1,233 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:27:16
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:27:16
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.InStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "InStorDetail", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class InStorDetailEntity : BaseEntity
+ {
+ public InStorDetailEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public InStorDetailEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public InStorDetailEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public InStorDetailEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public InStorDetailEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public InStorDetailEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public InStorDetailEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public InStorDetailEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public InStorDetailEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsPick", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsPick { get; set; }
+
+ public InStorDetailEntity IncludeIsPick(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsPick"))
+ {
+ this.ColumnList.Add("IsPick");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RealNum", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double RealNum { get; set; }
+
+ public InStorDetailEntity IncludeRealNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RealNum"))
+ {
+ this.ColumnList.Add("RealNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "InPrice", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double InPrice { get; set; }
+
+ public InStorDetailEntity IncludeInPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("InPrice"))
+ {
+ this.ColumnList.Add("InPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public InStorDetailEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public InStorDetailEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public InStorDetailEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public InStorDetailEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public InStorDetailEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ }
+
+
+ public partial class InStorDetailEntity
+ {
+ public string Size { get; set; }
+
+ public double TotalPrice { get; set; }
+
+ public string LocalName { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/InStorage/InStorSingleEntity.cs b/Git.Storage.Entity/InStorage/InStorSingleEntity.cs
new file mode 100644
index 0000000..cb2bce4
--- /dev/null
+++ b/Git.Storage.Entity/InStorage/InStorSingleEntity.cs
@@ -0,0 +1,175 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:27:17
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:27:17
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.InStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "InStorSingle", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class InStorSingleEntity : BaseEntity
+ {
+ public InStorSingleEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public InStorSingleEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DetailNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string DetailNum { get; set; }
+
+ public InStorSingleEntity IncludeDetailNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DetailNum"))
+ {
+ this.ColumnList.Add("DetailNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "InStorNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string InStorNum { get; set; }
+
+ public InStorSingleEntity IncludeInStorNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("InStorNum"))
+ {
+ this.ColumnList.Add("InStorNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SingleNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SingleNum { get; set; }
+
+ public InStorSingleEntity IncludeSingleNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SingleNum"))
+ {
+ this.ColumnList.Add("SingleNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public InStorSingleEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public InStorSingleEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public InStorSingleEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "InPrice", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double InPrice { get; set; }
+
+ public InStorSingleEntity IncludeInPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("InPrice"))
+ {
+ this.ColumnList.Add("InPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public InStorSingleEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public InStorSingleEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 100, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public InStorSingleEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public InStorSingleEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/InStorage/InStorageEntity.cs b/Git.Storage.Entity/InStorage/InStorageEntity.cs
new file mode 100644
index 0000000..fa3ec74
--- /dev/null
+++ b/Git.Storage.Entity/InStorage/InStorageEntity.cs
@@ -0,0 +1,419 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:27:15
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:27:15
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.InStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "InStorage", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class InStorageEntity : BaseEntity
+ {
+ public InStorageEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public InStorageEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public InStorageEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "InType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 InType { get; set; }
+
+ public InStorageEntity IncludeInType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("InType"))
+ {
+ this.ColumnList.Add("InType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ProductType { get; set; }
+
+ public InStorageEntity IncludeProductType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductType"))
+ {
+ this.ColumnList.Add("ProductType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public InStorageEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SupNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SupNum { get; set; }
+
+ public InStorageEntity IncludeSupNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SupNum"))
+ {
+ this.ColumnList.Add("SupNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SupName", DbType = DbType.String, Length = 100, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SupName { get; set; }
+
+ public InStorageEntity IncludeSupName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SupName"))
+ {
+ this.ColumnList.Add("SupName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContactName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContactName { get; set; }
+
+ public InStorageEntity IncludeContactName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContactName"))
+ {
+ this.ColumnList.Add("ContactName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Phone", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Phone { get; set; }
+
+ public InStorageEntity IncludePhone(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Phone"))
+ {
+ this.ColumnList.Add("Phone");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Address", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Address { get; set; }
+
+ public InStorageEntity IncludeAddress(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Address"))
+ {
+ this.ColumnList.Add("Address");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public InStorageEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ContractType { get; set; }
+
+ public InStorageEntity IncludeContractType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractType"))
+ {
+ this.ColumnList.Add("ContractType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public InStorageEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public InStorageEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public InStorageEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public InStorageEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "NetWeight", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double NetWeight { get; set; }
+
+ public InStorageEntity IncludeNetWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("NetWeight"))
+ {
+ this.ColumnList.Add("NetWeight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "GrossWeight", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double GrossWeight { get; set; }
+
+ public InStorageEntity IncludeGrossWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("GrossWeight"))
+ {
+ this.ColumnList.Add("GrossWeight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime OrderTime { get; set; }
+
+ public InStorageEntity IncludeOrderTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderTime"))
+ {
+ this.ColumnList.Add("OrderTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public InStorageEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public InStorageEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string AuditUser { get; set; }
+
+ public InStorageEntity IncludeAuditUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditUser"))
+ {
+ this.ColumnList.Add("AuditUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditeTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime AuditeTime { get; set; }
+
+ public InStorageEntity IncludeAuditeTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditeTime"))
+ {
+ this.ColumnList.Add("AuditeTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string PrintUser { get; set; }
+
+ public InStorageEntity IncludePrintUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintUser"))
+ {
+ this.ColumnList.Add("PrintUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime PrintTime { get; set; }
+
+ public InStorageEntity IncludePrintTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintTime"))
+ {
+ this.ColumnList.Add("PrintTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StoreKeeper", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StoreKeeper { get; set; }
+
+ public InStorageEntity IncludeStoreKeeper(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StoreKeeper"))
+ {
+ this.ColumnList.Add("StoreKeeper");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Reason { get; set; }
+
+ public InStorageEntity IncludeReason(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Reason"))
+ {
+ this.ColumnList.Add("Reason");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 OperateType { get; set; }
+
+ public InStorageEntity IncludeOperateType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OperateType"))
+ {
+ this.ColumnList.Add("OperateType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentNum { get; set; }
+
+ public InStorageEntity IncludeEquipmentNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentNum"))
+ {
+ this.ColumnList.Add("EquipmentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentCode { get; set; }
+
+ public InStorageEntity IncludeEquipmentCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentCode"))
+ {
+ this.ColumnList.Add("EquipmentCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public InStorageEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class InStorageEntity
+ {
+ [DataMapping(ColumnName = "CreateUserName", DbType = DbType.String)]
+ public string CreateUserName { get; set; }
+
+ public string InTypeLable { get; set; }
+
+ public string StatusLable { get; set; }
+
+ ///
+ /// 描述
+ ///
+ public string Description { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/InStorage/Proc_AuditeInStorageEntity.cs b/Git.Storage.Entity/InStorage/Proc_AuditeInStorageEntity.cs
new file mode 100644
index 0000000..f415330
--- /dev/null
+++ b/Git.Storage.Entity/InStorage/Proc_AuditeInStorageEntity.cs
@@ -0,0 +1,58 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/02 09:57:38
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/02 09:57:38
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.InStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_AuditeInStorage", IsInternal = false,MapType=MapType.Proc)]
+ public partial class Proc_AuditeInStorageEntity:BaseEntity
+ {
+ public Proc_AuditeInStorageEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string OrderNum { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string AuditUser { get; set; }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Reason { get; set; }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 OperateType { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentNum { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentCode { get; set; }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Remark { get; set; }
+
+ [DataMapping(ColumnName = "ReturnValue", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InOutPut)]
+ public string ReturnValue { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/InStorage/Proc_InStorageReportEntity.cs b/Git.Storage.Entity/InStorage/Proc_InStorageReportEntity.cs
new file mode 100644
index 0000000..e10d747
--- /dev/null
+++ b/Git.Storage.Entity/InStorage/Proc_InStorageReportEntity.cs
@@ -0,0 +1,59 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-05-16 14:37:08
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-05-16 14:37:08
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.InStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_InStorageReport", IsInternal = false, MapType = MapType.Proc)]
+ public partial class Proc_InStorageReportEntity : BaseEntity
+ {
+ public Proc_InStorageReportEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public double Num { get; set; }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public double Amount { get; set; }
+
+ [DataMapping(ColumnName = "RecordCount", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 RecordCount { get; set; }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public DateTime CreateTime { get; set; }
+
+ [DataMapping(ColumnName = "PageIndex", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 PageIndex { get; set; }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string StorageNum { get; set; }
+
+ [DataMapping(ColumnName = "PageSize", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 PageSize { get; set; }
+
+ [DataMapping(ColumnName = "BeginTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InPut)]
+ public DateTime BeginTime { get; set; }
+
+ [DataMapping(ColumnName = "EndTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InPut)]
+ public DateTime EndTime { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Move/MoveOrderDetailEntity.cs b/Git.Storage.Entity/Move/MoveOrderDetailEntity.cs
new file mode 100644
index 0000000..3267282
--- /dev/null
+++ b/Git.Storage.Entity/Move/MoveOrderDetailEntity.cs
@@ -0,0 +1,236 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:33:00
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:33:00
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Move
+{
+ [TableAttribute(DbName = "JooWMS", Name = "MoveOrderDetail", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class MoveOrderDetailEntity : BaseEntity
+ {
+ public MoveOrderDetailEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public MoveOrderDetailEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public MoveOrderDetailEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public MoveOrderDetailEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public MoveOrderDetailEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public MoveOrderDetailEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public MoveOrderDetailEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public MoveOrderDetailEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public MoveOrderDetailEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "InPrice", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double InPrice { get; set; }
+
+ public MoveOrderDetailEntity IncludeInPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("InPrice"))
+ {
+ this.ColumnList.Add("InPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amout", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amout { get; set; }
+
+ public MoveOrderDetailEntity IncludeAmout(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amout"))
+ {
+ this.ColumnList.Add("Amout");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsPick", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsPick { get; set; }
+
+ public MoveOrderDetailEntity IncludeIsPick(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsPick"))
+ {
+ this.ColumnList.Add("IsPick");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RealNum", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double RealNum { get; set; }
+
+ public MoveOrderDetailEntity IncludeRealNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RealNum"))
+ {
+ this.ColumnList.Add("RealNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public MoveOrderDetailEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public MoveOrderDetailEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FromLocalNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string FromLocalNum { get; set; }
+
+ public MoveOrderDetailEntity IncludeFromLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FromLocalNum"))
+ {
+ this.ColumnList.Add("FromLocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ToLocalNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ToLocalNum { get; set; }
+
+ public MoveOrderDetailEntity IncludeToLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ToLocalNum"))
+ {
+ this.ColumnList.Add("ToLocalNum");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class MoveOrderDetailEntity
+ {
+ ///
+ /// 起始库位名
+ ///
+ public string FromLocalName { get; set; }
+
+ ///
+ /// 目标库位名
+ ///
+ public string ToLocalName { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Move/MoveOrderEntity.cs b/Git.Storage.Entity/Move/MoveOrderEntity.cs
new file mode 100644
index 0000000..e65955e
--- /dev/null
+++ b/Git.Storage.Entity/Move/MoveOrderEntity.cs
@@ -0,0 +1,300 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:32:59
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:32:59
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Move
+{
+ [TableAttribute(DbName = "JooWMS", Name = "MoveOrder", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class MoveOrderEntity : BaseEntity
+ {
+ public MoveOrderEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public MoveOrderEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public MoveOrderEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MoveType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 MoveType { get; set; }
+
+ public MoveOrderEntity IncludeMoveType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MoveType"))
+ {
+ this.ColumnList.Add("MoveType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ProductType { get; set; }
+
+ public MoveOrderEntity IncludeProductType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductType"))
+ {
+ this.ColumnList.Add("ProductType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public MoveOrderEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public MoveOrderEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public MoveOrderEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public MoveOrderEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public MoveOrderEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amout", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amout { get; set; }
+
+ public MoveOrderEntity IncludeAmout(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amout"))
+ {
+ this.ColumnList.Add("Amout");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Weight", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Weight { get; set; }
+
+ public MoveOrderEntity IncludeWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Weight"))
+ {
+ this.ColumnList.Add("Weight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public MoveOrderEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public MoveOrderEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string AuditUser { get; set; }
+
+ public MoveOrderEntity IncludeAuditUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditUser"))
+ {
+ this.ColumnList.Add("AuditUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditeTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime AuditeTime { get; set; }
+
+ public MoveOrderEntity IncludeAuditeTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditeTime"))
+ {
+ this.ColumnList.Add("AuditeTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string PrintUser { get; set; }
+
+ public MoveOrderEntity IncludePrintUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintUser"))
+ {
+ this.ColumnList.Add("PrintUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime PrintTime { get; set; }
+
+ public MoveOrderEntity IncludePrintTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintTime"))
+ {
+ this.ColumnList.Add("PrintTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Reason { get; set; }
+
+ public MoveOrderEntity IncludeReason(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Reason"))
+ {
+ this.ColumnList.Add("Reason");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 OperateType { get; set; }
+
+ public MoveOrderEntity IncludeOperateType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OperateType"))
+ {
+ this.ColumnList.Add("OperateType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentNum { get; set; }
+
+ public MoveOrderEntity IncludeEquipmentNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentNum"))
+ {
+ this.ColumnList.Add("EquipmentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentCode { get; set; }
+
+ public MoveOrderEntity IncludeEquipmentCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentCode"))
+ {
+ this.ColumnList.Add("EquipmentCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public MoveOrderEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+ public partial class MoveOrderEntity
+ {
+ [DataMapping(ColumnName = "CreateUserName", DbType = DbType.String)]
+ public string CreateUserName { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Move/Proc_AuditeMoveEntity.cs b/Git.Storage.Entity/Move/Proc_AuditeMoveEntity.cs
new file mode 100644
index 0000000..2eab2a4
--- /dev/null
+++ b/Git.Storage.Entity/Move/Proc_AuditeMoveEntity.cs
@@ -0,0 +1,59 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/01 10:31:16
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/01 10:31:16
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Move
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_AuditeMove", IsInternal = false,MapType=MapType.Proc)]
+ public partial class Proc_AuditeMoveEntity:BaseEntity
+ {
+ public Proc_AuditeMoveEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string OrderNum { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string AuditUser { get; set; }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Reason { get; set; }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 OperateType { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentNum { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentCode { get; set; }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Remark { get; set; }
+
+ [DataMapping(ColumnName = "ReturnValue", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InOutPut)]
+ public string ReturnValue { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Order/OrderDetailEntity.cs b/Git.Storage.Entity/Order/OrderDetailEntity.cs
new file mode 100644
index 0000000..2edac1b
--- /dev/null
+++ b/Git.Storage.Entity/Order/OrderDetailEntity.cs
@@ -0,0 +1,259 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/08/08 16:02:40
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/08/08 16:02:40
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Order
+{
+ [TableAttribute(DbName = "JooWMS", Name = "OrderDetail", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class OrderDetailEntity : BaseEntity
+ {
+ public OrderDetailEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public OrderDetailEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public OrderDetailEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderSnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderSnNum { get; set; }
+
+ public OrderDetailEntity IncludeOrderSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderSnNum"))
+ {
+ this.ColumnList.Add("OrderSnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public OrderDetailEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public OrderDetailEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public OrderDetailEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public OrderDetailEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public OrderDetailEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RealNum", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double RealNum { get; set; }
+
+ public OrderDetailEntity IncludeRealNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RealNum"))
+ {
+ this.ColumnList.Add("RealNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UnitNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string UnitNum { get; set; }
+
+ public OrderDetailEntity IncludeUnitNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UnitNum"))
+ {
+ this.ColumnList.Add("UnitNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Price", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Price { get; set; }
+
+ public OrderDetailEntity IncludePrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Price"))
+ {
+ this.ColumnList.Add("Price");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public OrderDetailEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public OrderDetailEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SendTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime SendTime { get; set; }
+
+ public OrderDetailEntity IncludeSendTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SendTime"))
+ {
+ this.ColumnList.Add("SendTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractID", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractID { get; set; }
+
+ public OrderDetailEntity IncludeContractID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractID"))
+ {
+ this.ColumnList.Add("ContractID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public OrderDetailEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public OrderDetailEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class OrderDetailEntity
+ {
+ ///
+ /// 规格
+ ///
+ [DataMapping(ColumnName = "Size", DbType = DbType.String, Length = 20)]
+ public string Size { get; set; }
+
+ ///
+ /// 产品单位
+ ///
+ [DataMapping(ColumnName = "UnitName", DbType = DbType.String, Length = 20)]
+ public string UnitName { get; set; }
+
+ ///
+ /// 产品库存
+ ///
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.Double, Length = 20)]
+ public double LocalNum { get; set; }
+
+ }
+
+}
diff --git a/Git.Storage.Entity/Order/OrdersEntity.cs b/Git.Storage.Entity/Order/OrdersEntity.cs
new file mode 100644
index 0000000..1ee7af7
--- /dev/null
+++ b/Git.Storage.Entity/Order/OrdersEntity.cs
@@ -0,0 +1,319 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-08-06 21:04:27
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-08-06 21:04:27
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Order
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Orders", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class OrdersEntity : BaseEntity
+ {
+ public OrdersEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public OrdersEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public OrdersEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public OrdersEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 OrderType { get; set; }
+
+ public OrdersEntity IncludeOrderType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderType"))
+ {
+ this.ColumnList.Add("OrderType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CusNum { get; set; }
+
+ public OrdersEntity IncludeCusNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusNum"))
+ {
+ this.ColumnList.Add("CusNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusName", DbType = DbType.String, Length = 100, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CusName { get; set; }
+
+ public OrdersEntity IncludeCusName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusName"))
+ {
+ this.ColumnList.Add("CusName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Contact", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Contact { get; set; }
+
+ public OrdersEntity IncludeContact(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Contact"))
+ {
+ this.ColumnList.Add("Contact");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Phone", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Phone { get; set; }
+
+ public OrdersEntity IncludePhone(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Phone"))
+ {
+ this.ColumnList.Add("Phone");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Address", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Address { get; set; }
+
+ public OrdersEntity IncludeAddress(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Address"))
+ {
+ this.ColumnList.Add("Address");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public OrdersEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public OrdersEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public OrdersEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Weight", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Weight { get; set; }
+
+ public OrdersEntity IncludeWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Weight"))
+ {
+ this.ColumnList.Add("Weight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime OrderTime { get; set; }
+
+ public OrdersEntity IncludeOrderTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderTime"))
+ {
+ this.ColumnList.Add("OrderTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SendDate", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime SendDate { get; set; }
+
+ public OrdersEntity IncludeSendDate(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SendDate"))
+ {
+ this.ColumnList.Add("SendDate");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditeStatus", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 AuditeStatus { get; set; }
+
+ public OrdersEntity IncludeAuditeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditeStatus"))
+ {
+ this.ColumnList.Add("AuditeStatus");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public OrdersEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public OrdersEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public OrdersEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public OrdersEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Reason { get; set; }
+
+ public OrdersEntity IncludeReason(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Reason"))
+ {
+ this.ColumnList.Add("Reason");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public OrdersEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class OrdersEntity
+ {
+ [DataMapping(ColumnName = "CreateUserName", DbType = DbType.String, Length = 800)]
+ public string CreateUserName { get; set; }
+
+ public string OrderTypeLable { get; set; }
+
+ public string StatusLable { get; set; }
+
+ public string UnitName { get; set; }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 800)]
+ public string ProductName { get; set; }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 800)]
+ public string BarCode { get; set; }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 800)]
+ public string ProductNum { get; set; }
+
+ public List ListDetail { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/OutStorage/OutStoDetailEntity.cs b/Git.Storage.Entity/OutStorage/OutStoDetailEntity.cs
new file mode 100644
index 0000000..2dd0baf
--- /dev/null
+++ b/Git.Storage.Entity/OutStorage/OutStoDetailEntity.cs
@@ -0,0 +1,258 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:27:49
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:27:49
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.OutStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "OutStoDetail", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class OutStoDetailEntity : BaseEntity
+ {
+ public OutStoDetailEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public OutStoDetailEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public OutStoDetailEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public OutStoDetailEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public OutStoDetailEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public OutStoDetailEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public OutStoDetailEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public OutStoDetailEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public OutStoDetailEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public OutStoDetailEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public OutStoDetailEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsPick", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsPick { get; set; }
+
+ public OutStoDetailEntity IncludeIsPick(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsPick"))
+ {
+ this.ColumnList.Add("IsPick");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "RealNum", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double RealNum { get; set; }
+
+ public OutStoDetailEntity IncludeRealNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("RealNum"))
+ {
+ this.ColumnList.Add("RealNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OutPrice", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double OutPrice { get; set; }
+
+ public OutStoDetailEntity IncludeOutPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OutPrice"))
+ {
+ this.ColumnList.Add("OutPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public OutStoDetailEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public OutStoDetailEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractSn", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractSn { get; set; }
+
+ public OutStoDetailEntity IncludeContractSn(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractSn"))
+ {
+ this.ColumnList.Add("ContractSn");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public OutStoDetailEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class OutStoDetailEntity
+ {
+ ///
+ /// 产品规格
+ ///
+ public string Size { get; set; }
+
+ ///
+ /// 库位名称
+ ///
+ public string LocalName { get; set; }
+
+ ///
+ /// 用于退货临时数据变量,已经退货数量
+ ///
+ public double BackNum { get; set; }
+
+ ///
+ /// 数量 临时变量
+ ///
+ public double Qty { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/OutStorage/OutStorSingleEntity.cs b/Git.Storage.Entity/OutStorage/OutStorSingleEntity.cs
new file mode 100644
index 0000000..889d6c2
--- /dev/null
+++ b/Git.Storage.Entity/OutStorage/OutStorSingleEntity.cs
@@ -0,0 +1,176 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:27:50
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:27:50
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.OutStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "OutStorSingle", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class OutStorSingleEntity : BaseEntity
+ {
+ public OutStorSingleEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public OutStorSingleEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DetailNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string DetailNum { get; set; }
+
+ public OutStorSingleEntity IncludeDetailNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DetailNum"))
+ {
+ this.ColumnList.Add("DetailNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OutStorNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OutStorNum { get; set; }
+
+ public OutStorSingleEntity IncludeOutStorNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OutStorNum"))
+ {
+ this.ColumnList.Add("OutStorNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SingleNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SingleNum { get; set; }
+
+ public OutStorSingleEntity IncludeSingleNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SingleNum"))
+ {
+ this.ColumnList.Add("SingleNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public OutStorSingleEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public OutStorSingleEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public OutStorSingleEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Price", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Price { get; set; }
+
+ public OutStorSingleEntity IncludePrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Price"))
+ {
+ this.ColumnList.Add("Price");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public OutStorSingleEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 100, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public OutStorSingleEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public OutStorSingleEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public OutStorSingleEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ }
+
+}
diff --git a/Git.Storage.Entity/OutStorage/OutStorageEntity.cs b/Git.Storage.Entity/OutStorage/OutStorageEntity.cs
new file mode 100644
index 0000000..7eebaae
--- /dev/null
+++ b/Git.Storage.Entity/OutStorage/OutStorageEntity.cs
@@ -0,0 +1,388 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:27:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:27:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.OutStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "OutStorage", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class OutStorageEntity : BaseEntity
+ {
+ public OutStorageEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public OutStorageEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public OutStorageEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OutType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 OutType { get; set; }
+
+ public OutStorageEntity IncludeOutType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OutType"))
+ {
+ this.ColumnList.Add("OutType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ProductType { get; set; }
+
+ public OutStorageEntity IncludeProductType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductType"))
+ {
+ this.ColumnList.Add("ProductType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public OutStorageEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CusNum { get; set; }
+
+ public OutStorageEntity IncludeCusNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusNum"))
+ {
+ this.ColumnList.Add("CusNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusName", DbType = DbType.String, Length = 100, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CusName { get; set; }
+
+ public OutStorageEntity IncludeCusName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusName"))
+ {
+ this.ColumnList.Add("CusName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Contact", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Contact { get; set; }
+
+ public OutStorageEntity IncludeContact(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Contact"))
+ {
+ this.ColumnList.Add("Contact");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Phone", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Phone { get; set; }
+
+ public OutStorageEntity IncludePhone(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Phone"))
+ {
+ this.ColumnList.Add("Phone");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Address", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Address { get; set; }
+
+ public OutStorageEntity IncludeAddress(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Address"))
+ {
+ this.ColumnList.Add("Address");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public OutStorageEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public OutStorageEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public OutStorageEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Weight", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Weight { get; set; }
+
+ public OutStorageEntity IncludeWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Weight"))
+ {
+ this.ColumnList.Add("Weight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SendDate", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime SendDate { get; set; }
+
+ public OutStorageEntity IncludeSendDate(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SendDate"))
+ {
+ this.ColumnList.Add("SendDate");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public OutStorageEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public OutStorageEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public OutStorageEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public OutStorageEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string AuditUser { get; set; }
+
+ public OutStorageEntity IncludeAuditUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditUser"))
+ {
+ this.ColumnList.Add("AuditUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditeTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime AuditeTime { get; set; }
+
+ public OutStorageEntity IncludeAuditeTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditeTime"))
+ {
+ this.ColumnList.Add("AuditeTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string PrintUser { get; set; }
+
+ public OutStorageEntity IncludePrintUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintUser"))
+ {
+ this.ColumnList.Add("PrintUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime PrintTime { get; set; }
+
+ public OutStorageEntity IncludePrintTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintTime"))
+ {
+ this.ColumnList.Add("PrintTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Reason { get; set; }
+
+ public OutStorageEntity IncludeReason(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Reason"))
+ {
+ this.ColumnList.Add("Reason");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 OperateType { get; set; }
+
+ public OutStorageEntity IncludeOperateType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OperateType"))
+ {
+ this.ColumnList.Add("OperateType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentNum { get; set; }
+
+ public OutStorageEntity IncludeEquipmentNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentNum"))
+ {
+ this.ColumnList.Add("EquipmentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentCode { get; set; }
+
+ public OutStorageEntity IncludeEquipmentCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentCode"))
+ {
+ this.ColumnList.Add("EquipmentCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public OutStorageEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+ }
+
+ public partial class OutStorageEntity
+ {
+ ///
+ /// 制单人姓名
+ ///
+ [DataMapping(ColumnName = "CreateUserName",DbType=DbType.String)]
+ public string CreateUserName { get; set; }
+
+ ///
+ /// 当前客户类型
+ ///
+ public Int32 CusType { get; set; }
+
+ ///
+ /// 所有的产品名称
+ ///
+ public string ProductNames { get; set; }
+
+ public List ListDetail { get; set; }
+ }
+
+}
diff --git a/Git.Storage.Entity/OutStorage/Proc_AuditeOutStorageEntity.cs b/Git.Storage.Entity/OutStorage/Proc_AuditeOutStorageEntity.cs
new file mode 100644
index 0000000..b54400d
--- /dev/null
+++ b/Git.Storage.Entity/OutStorage/Proc_AuditeOutStorageEntity.cs
@@ -0,0 +1,58 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/09 12:57:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/09 12:57:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.OutStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_AuditeOutStorage", IsInternal = false,MapType=MapType.Proc)]
+ public partial class Proc_AuditeOutStorageEntity:BaseEntity
+ {
+ public Proc_AuditeOutStorageEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string OrderNum { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string AuditUser { get; set; }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Reason { get; set; }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 OperateType { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentNum { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string EquipmentCode { get; set; }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Remark { get; set; }
+
+ [DataMapping(ColumnName = "ReturnValue", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InOutPut)]
+ public string ReturnValue { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/OutStorage/Proc_OutStorageReportEntity.cs b/Git.Storage.Entity/OutStorage/Proc_OutStorageReportEntity.cs
new file mode 100644
index 0000000..2f531d3
--- /dev/null
+++ b/Git.Storage.Entity/OutStorage/Proc_OutStorageReportEntity.cs
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-05-21 14:20:17
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-05-21 14:20:17
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.OutStorage
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_OutStorageReport", IsInternal = false,MapType=MapType.Proc)]
+ public partial class Proc_OutStorageReportEntity : BaseEntity
+ {
+ public Proc_OutStorageReportEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public double Num { get; set; }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public double Amount { get; set; }
+
+ [DataMapping(ColumnName = "RecordCount", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 RecordCount { get; set; }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public DateTime CreateTime { get; set; }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string StorageNum { get; set; }
+
+ [DataMapping(ColumnName = "PageIndex", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 PageIndex { get; set; }
+
+ [DataMapping(ColumnName = "PageSize", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 PageSize { get; set; }
+
+ [DataMapping(ColumnName = "BeginTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InPut)]
+ public DateTime BeginTime { get; set; }
+
+ [DataMapping(ColumnName = "EndTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InPut)]
+ public DateTime EndTime { get; set; }
+
+ }
+
+}
diff --git a/Git.Storage.Entity/Procedure/Proc_SwiftNumEntity.cs b/Git.Storage.Entity/Procedure/Proc_SwiftNumEntity.cs
new file mode 100644
index 0000000..fdfe008
--- /dev/null
+++ b/Git.Storage.Entity/Procedure/Proc_SwiftNumEntity.cs
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-09-26 22:18:10
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-09-26 22:18:10
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Procedure
+{
+ ///
+ /// 该存储过程主要用于管理流水号问题
+ ///
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_SwiftNum", IsInternal = false,MapType=MapType.Proc)]
+ public partial class Proc_SwiftNumEntity:BaseEntity
+ {
+ public Proc_SwiftNumEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "Day", DbType = DbType.String, Length = 20,ColumnType=ColumnType.InPut)]
+ public string Day { get; set; }
+
+ [DataMapping(ColumnName = "TabName", DbType = DbType.String, Length = 20,ColumnType=ColumnType.InPut)]
+ public string TabName { get; set; }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public Int32 Num { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Properties/AssemblyInfo.cs b/Git.Storage.Entity/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..25664e6
--- /dev/null
+++ b/Git.Storage.Entity/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下
+// 特性集控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Git.Storage.Entity")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("workgroup")]
+[assembly: AssemblyProduct("Git.Storage.Entity")]
+[assembly: AssemblyCopyright("Copyright © workgroup 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("1b5cea8a-dd1c-4be4-947b-afe73cbb099d")]
+
+// 程序集的版本信息由下面四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
+// 方法是按如下所示使用“*”:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Git.Storage.Entity/Report/ProceMetadata.cs b/Git.Storage.Entity/Report/ProceMetadata.cs
new file mode 100644
index 0000000..5361162
--- /dev/null
+++ b/Git.Storage.Entity/Report/ProceMetadata.cs
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2015/9/6 8:59:50
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2015/9/6 8:59:50 情缘
+*********************************************************************************/
+
+using Git.Framework.ORM;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Entity.Report
+{
+ public partial class ProceMetadata
+ {
+ public ProceMetadata() { }
+
+ [DataMapping(ColumnName = "SPECIFIC_CATALOG", DbType = DbType.String)]
+ public string SPECIFIC_CATALOG { get; set; }
+
+ [DataMapping(ColumnName = "SPECIFIC_NAME", DbType = DbType.String)]
+ public string SPECIFIC_NAME { get; set; }
+
+ [DataMapping(ColumnName = "ORDINAL_POSITION", DbType = DbType.Int32)]
+ public int ORDINAL_POSITION { get; set; }
+
+ [DataMapping(ColumnName = "PARAMETER_MODE", DbType = DbType.String)]
+ public string PARAMETER_MODE { get; set; }
+
+ [DataMapping(ColumnName = "PARAMETER_NAME", DbType = DbType.String)]
+ public string PARAMETER_NAME { get; set; }
+
+ [DataMapping(ColumnName = "DATA_TYPE", DbType = DbType.String)]
+ public string DATA_TYPE { get; set; }
+
+ [DataMapping(ColumnName = "CHARACTER_MAXIMUM_LENGTH", DbType = DbType.String)]
+ public string CHARACTER_MAXIMUM_LENGTH { get; set; }
+
+ [DataMapping(ColumnName = "ShowName", DbType = DbType.String)]
+ public string ShowName { get; set; }
+
+ [DataMapping(ColumnName = "F_Param_Element", DbType = DbType.String)]
+ public string F_Param_Element { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Report/ReportChart.cs b/Git.Storage.Entity/Report/ReportChart.cs
new file mode 100644
index 0000000..7329833
--- /dev/null
+++ b/Git.Storage.Entity/Report/ReportChart.cs
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-09-29 19:24:03
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-09-29 19:24:03 情缘
+*********************************************************************************/
+
+using Git.Framework.ORM;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Entity.Report
+{
+ public partial class ReportChart
+ {
+ public ReportChart() { }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String)]
+ public string ProductNum { get; set; }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String)]
+ public string BarCode { get; set; }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String)]
+ public string ProductName { get; set; }
+
+ [DataMapping(ColumnName = "Size", DbType = DbType.String)]
+ public string Size { get; set; }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double)]
+ public double Num { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Report/ReportParamsEntity.cs b/Git.Storage.Entity/Report/ReportParamsEntity.cs
new file mode 100644
index 0000000..c472639
--- /dev/null
+++ b/Git.Storage.Entity/Report/ReportParamsEntity.cs
@@ -0,0 +1,164 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/09/05 13:07:36
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/09/05 13:07:36
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Report
+{
+ [TableAttribute(DbName = "JooWMS", Name = "ReportParams", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class ReportParamsEntity:BaseEntity
+ {
+ public ReportParamsEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public ReportParamsEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParamNum", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ParamNum { get; set; }
+
+ public ReportParamsEntity IncludeParamNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParamNum"))
+ {
+ this.ColumnList.Add("ParamNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ReportNum", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ReportNum { get; set; }
+
+ public ReportParamsEntity IncludeReportNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ReportNum"))
+ {
+ this.ColumnList.Add("ReportNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "InputNo", DbType = DbType.String,Length=50,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string InputNo { get; set; }
+
+ public ReportParamsEntity IncludeInputNo (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("InputNo"))
+ {
+ this.ColumnList.Add("InputNo");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParamName", DbType = DbType.String,Length=50,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ParamName { get; set; }
+
+ public ReportParamsEntity IncludeParamName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParamName"))
+ {
+ this.ColumnList.Add("ParamName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ShowName", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ShowName { get; set; }
+
+ public ReportParamsEntity IncludeShowName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ShowName"))
+ {
+ this.ColumnList.Add("ShowName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParamType", DbType = DbType.String,Length=50,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ParamType { get; set; }
+
+ public ReportParamsEntity IncludeParamType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParamType"))
+ {
+ this.ColumnList.Add("ParamType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParamData", DbType = DbType.String,Length=1000,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ParamData { get; set; }
+
+ public ReportParamsEntity IncludeParamData (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParamData"))
+ {
+ this.ColumnList.Add("ParamData");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DefaultValue", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string DefaultValue { get; set; }
+
+ public ReportParamsEntity IncludeDefaultValue (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DefaultValue"))
+ {
+ this.ColumnList.Add("DefaultValue");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ParamElement", DbType = DbType.String,Length=200,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ParamElement { get; set; }
+
+ public ReportParamsEntity IncludeParamElement (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ParamElement"))
+ {
+ this.ColumnList.Add("ParamElement");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Remark { get; set; }
+
+ public ReportParamsEntity IncludeRemark (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Report/ReportsEntity.cs b/Git.Storage.Entity/Report/ReportsEntity.cs
new file mode 100644
index 0000000..100776e
--- /dev/null
+++ b/Git.Storage.Entity/Report/ReportsEntity.cs
@@ -0,0 +1,164 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/09/05 13:07:30
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/09/05 13:07:30
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Report
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Reports", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class ReportsEntity:BaseEntity
+ {
+ public ReportsEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public ReportsEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ReportNum", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ReportNum { get; set; }
+
+ public ReportsEntity IncludeReportNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ReportNum"))
+ {
+ this.ColumnList.Add("ReportNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ReportName", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ReportName { get; set; }
+
+ public ReportsEntity IncludeReportName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ReportName"))
+ {
+ this.ColumnList.Add("ReportName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ReportType", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 ReportType { get; set; }
+
+ public ReportsEntity IncludeReportType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ReportType"))
+ {
+ this.ColumnList.Add("ReportType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Remark { get; set; }
+
+ public ReportsEntity IncludeRemark (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DataSource", DbType = DbType.String,Length=8000,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string DataSource { get; set; }
+
+ public ReportsEntity IncludeDataSource (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DataSource"))
+ {
+ this.ColumnList.Add("DataSource");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DsType", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 DsType { get; set; }
+
+ public ReportsEntity IncludeDsType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DsType"))
+ {
+ this.ColumnList.Add("DsType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FileName", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string FileName { get; set; }
+
+ public ReportsEntity IncludeFileName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FileName"))
+ {
+ this.ColumnList.Add("FileName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 IsDelete { get; set; }
+
+ public ReportsEntity IncludeIsDelete (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 Status { get; set; }
+
+ public ReportsEntity IncludeStatus (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime,Length=8,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime CreateTime { get; set; }
+
+ public ReportsEntity IncludeCreateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Return/Proc_AuditeReturnEntity.cs b/Git.Storage.Entity/Return/Proc_AuditeReturnEntity.cs
new file mode 100644
index 0000000..9b82f4b
--- /dev/null
+++ b/Git.Storage.Entity/Return/Proc_AuditeReturnEntity.cs
@@ -0,0 +1,58 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/28 22:06:44
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/28 22:06:44
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Return
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_AuditeReturn", IsInternal = false,MapType=MapType.Proc)]
+ public partial class Proc_AuditeReturnEntity:BaseEntity
+ {
+ public Proc_AuditeReturnEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string OrderNum { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string AuditUser { get; set; }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Reason { get; set; }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 OperateType { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string EquipmentNum { get; set; }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string EquipmentCode { get; set; }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400,ColumnType=ColumnType.InPut)]
+ public string Remark { get; set; }
+
+ [DataMapping(ColumnName = "ReturnValue", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InOutPut)]
+ public string ReturnValue { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Return/Proc_ReturnTOP10NumEntity.cs b/Git.Storage.Entity/Return/Proc_ReturnTOP10NumEntity.cs
new file mode 100644
index 0000000..a7f7a33
--- /dev/null
+++ b/Git.Storage.Entity/Return/Proc_ReturnTOP10NumEntity.cs
@@ -0,0 +1,56 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/06/09 14:54:49
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/06/09 14:54:49
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Return
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_ReturnTOP10Num", IsInternal = false, MapType = MapType.Proc)]
+ public partial class Proc_ReturnTOP10NumEntity : BaseEntity
+ {
+ public Proc_ReturnTOP10NumEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string StorageNum { get; set; }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string ProductNum { get; set; }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 100, ColumnType = ColumnType.InOutPut)]
+ public string ProductName { get; set; }
+
+ [DataMapping(ColumnName = "TotalNum", DbType = DbType.Double, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public double TotalNum { get; set; }
+
+ [DataMapping(ColumnName = "BeginTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InPut)]
+ public DateTime BeginTime { get; set; }
+
+ [DataMapping(ColumnName = "EndTime", DbType = DbType.DateTime, Length = 4000, ColumnType = ColumnType.InPut)]
+ public DateTime EndTime { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 IsDelete { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Return/ReturnDetailEntity.cs b/Git.Storage.Entity/Return/ReturnDetailEntity.cs
new file mode 100644
index 0000000..20c9ac0
--- /dev/null
+++ b/Git.Storage.Entity/Return/ReturnDetailEntity.cs
@@ -0,0 +1,223 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:23:51
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:23:51
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Return
+{
+ [TableAttribute(DbName = "JooWMS", Name = "ReturnDetail", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class ReturnDetailEntity : BaseEntity
+ {
+ public ReturnDetailEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public ReturnDetailEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public ReturnDetailEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public ReturnDetailEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public ReturnDetailEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public ReturnDetailEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public ReturnDetailEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public ReturnDetailEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public ReturnDetailEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public ReturnDetailEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public ReturnDetailEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public ReturnDetailEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OutPrice", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double OutPrice { get; set; }
+
+ public ReturnDetailEntity IncludeOutPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OutPrice"))
+ {
+ this.ColumnList.Add("OutPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public ReturnDetailEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BackNum", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double BackNum { get; set; }
+
+ public ReturnDetailEntity IncludeBackNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BackNum"))
+ {
+ this.ColumnList.Add("BackNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BackAmount", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double BackAmount { get; set; }
+
+ public ReturnDetailEntity IncludeBackAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BackAmount"))
+ {
+ this.ColumnList.Add("BackAmount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public ReturnDetailEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Return/ReturnOrderEntity.cs b/Git.Storage.Entity/Return/ReturnOrderEntity.cs
new file mode 100644
index 0000000..8735b3f
--- /dev/null
+++ b/Git.Storage.Entity/Return/ReturnOrderEntity.cs
@@ -0,0 +1,382 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:23:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:23:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Return
+{
+ [TableAttribute(DbName = "JooWMS", Name = "ReturnOrder", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class ReturnOrderEntity : BaseEntity
+ {
+ public ReturnOrderEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public ReturnOrderEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OrderNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string OrderNum { get; set; }
+
+ public ReturnOrderEntity IncludeOrderNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OrderNum"))
+ {
+ this.ColumnList.Add("OrderNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ReturnType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ReturnType { get; set; }
+
+ public ReturnOrderEntity IncludeReturnType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ReturnType"))
+ {
+ this.ColumnList.Add("ReturnType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 ProductType { get; set; }
+
+ public ReturnOrderEntity IncludeProductType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductType"))
+ {
+ this.ColumnList.Add("ProductType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public ReturnOrderEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CusNum { get; set; }
+
+ public ReturnOrderEntity IncludeCusNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusNum"))
+ {
+ this.ColumnList.Add("CusNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusName", DbType = DbType.String, Length = 100, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CusName { get; set; }
+
+ public ReturnOrderEntity IncludeCusName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusName"))
+ {
+ this.ColumnList.Add("CusName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Contact", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Contact { get; set; }
+
+ public ReturnOrderEntity IncludeContact(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Contact"))
+ {
+ this.ColumnList.Add("Contact");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Phone", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Phone { get; set; }
+
+ public ReturnOrderEntity IncludePhone(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Phone"))
+ {
+ this.ColumnList.Add("Phone");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Address", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Address { get; set; }
+
+ public ReturnOrderEntity IncludeAddress(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Address"))
+ {
+ this.ColumnList.Add("Address");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractOrder", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractOrder { get; set; }
+
+ public ReturnOrderEntity IncludeContractOrder(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractOrder"))
+ {
+ this.ColumnList.Add("ContractOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public ReturnOrderEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Amount", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Amount { get; set; }
+
+ public ReturnOrderEntity IncludeAmount(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Amount"))
+ {
+ this.ColumnList.Add("Amount");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Weight", DbType = DbType.Double, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Weight { get; set; }
+
+ public ReturnOrderEntity IncludeWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Weight"))
+ {
+ this.ColumnList.Add("Weight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public ReturnOrderEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public ReturnOrderEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public ReturnOrderEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public ReturnOrderEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string AuditUser { get; set; }
+
+ public ReturnOrderEntity IncludeAuditUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditUser"))
+ {
+ this.ColumnList.Add("AuditUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AuditeTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime AuditeTime { get; set; }
+
+ public ReturnOrderEntity IncludeAuditeTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AuditeTime"))
+ {
+ this.ColumnList.Add("AuditeTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintUser", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string PrintUser { get; set; }
+
+ public ReturnOrderEntity IncludePrintUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintUser"))
+ {
+ this.ColumnList.Add("PrintUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PrintTime", DbType = DbType.DateTime, Length = 8, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime PrintTime { get; set; }
+
+ public ReturnOrderEntity IncludePrintTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PrintTime"))
+ {
+ this.ColumnList.Add("PrintTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Reason", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Reason { get; set; }
+
+ public ReturnOrderEntity IncludeReason(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Reason"))
+ {
+ this.ColumnList.Add("Reason");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OperateType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 OperateType { get; set; }
+
+ public ReturnOrderEntity IncludeOperateType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OperateType"))
+ {
+ this.ColumnList.Add("OperateType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentNum { get; set; }
+
+ public ReturnOrderEntity IncludeEquipmentNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentNum"))
+ {
+ this.ColumnList.Add("EquipmentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentCode { get; set; }
+
+ public ReturnOrderEntity IncludeEquipmentCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentCode"))
+ {
+ this.ColumnList.Add("EquipmentCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public ReturnOrderEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class ReturnOrderEntity
+ {
+ [DataMapping(ColumnName = "CreateUserName", DbType = DbType.String)]
+ public string CreateUserName { get; set; }
+
+ ///
+ /// 产品名称
+ ///
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String)]
+ public string ProductName { get; set; }
+
+ ///
+ /// 条码编号
+ ///
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String)]
+ public string BarCode { get; set; }
+
+ ///
+ /// 产品编号
+ ///
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String)]
+ public string ProductNum { get; set; }
+
+
+ public float NumPCT { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Store/CusAddressEntity.cs b/Git.Storage.Entity/Store/CusAddressEntity.cs
new file mode 100644
index 0000000..c8b1794
--- /dev/null
+++ b/Git.Storage.Entity/Store/CusAddressEntity.cs
@@ -0,0 +1,151 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:57:58
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:57:58
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "CusAddress", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class CusAddressEntity:BaseEntity
+ {
+ public CusAddressEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public CusAddressEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String,Length=200,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string SnNum { get; set; }
+
+ public CusAddressEntity IncludeSnNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusNum", DbType = DbType.String,Length=20,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CusNum { get; set; }
+
+ public CusAddressEntity IncludeCusNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusNum"))
+ {
+ this.ColumnList.Add("CusNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Contact", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Contact { get; set; }
+
+ public CusAddressEntity IncludeContact (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Contact"))
+ {
+ this.ColumnList.Add("Contact");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Phone", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Phone { get; set; }
+
+ public CusAddressEntity IncludePhone (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Phone"))
+ {
+ this.ColumnList.Add("Phone");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Address", DbType = DbType.String,Length=400,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Address { get; set; }
+
+ public CusAddressEntity IncludeAddress (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Address"))
+ {
+ this.ColumnList.Add("Address");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 IsDelete { get; set; }
+
+ public CusAddressEntity IncludeIsDelete (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime,Length=8,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime CreateTime { get; set; }
+
+ public CusAddressEntity IncludeCreateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CreateUser { get; set; }
+
+ public CusAddressEntity IncludeCreateUser (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Remark { get; set; }
+
+ public CusAddressEntity IncludeRemark (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Store/CustomerEntity.cs b/Git.Storage.Entity/Store/CustomerEntity.cs
new file mode 100644
index 0000000..f4178a0
--- /dev/null
+++ b/Git.Storage.Entity/Store/CustomerEntity.cs
@@ -0,0 +1,195 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:57:57
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:57:57
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Customer", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class CustomerEntity:BaseEntity
+ {
+ public CustomerEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public CustomerEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusNum", DbType = DbType.String,Length=20,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CusNum { get; set; }
+
+ public CustomerEntity IncludeCusNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusNum"))
+ {
+ this.ColumnList.Add("CusNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusName", DbType = DbType.String,Length=40,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CusName { get; set; }
+
+ public CustomerEntity IncludeCusName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusName"))
+ {
+ this.ColumnList.Add("CusName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Phone", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Phone { get; set; }
+
+ public CustomerEntity IncludePhone (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Phone"))
+ {
+ this.ColumnList.Add("Phone");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Email", DbType = DbType.String,Length=30,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Email { get; set; }
+
+ public CustomerEntity IncludeEmail (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Email"))
+ {
+ this.ColumnList.Add("Email");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Fax", DbType = DbType.String,Length=30,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Fax { get; set; }
+
+ public CustomerEntity IncludeFax (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Fax"))
+ {
+ this.ColumnList.Add("Fax");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Address", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Address { get; set; }
+
+ public CustomerEntity IncludeAddress (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Address"))
+ {
+ this.ColumnList.Add("Address");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusType", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 CusType { get; set; }
+
+ public CustomerEntity IncludeCusType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusType"))
+ {
+ this.ColumnList.Add("CusType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32,Length=4,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 IsDelete { get; set; }
+
+ public CustomerEntity IncludeIsDelete (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime,Length=8,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime CreateTime { get; set; }
+
+ public CustomerEntity IncludeCreateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String,Length=20,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CreateUser { get; set; }
+
+ public CustomerEntity IncludeCreateUser (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Remark { get; set; }
+
+ public CustomerEntity IncludeRemark (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+ public partial class CustomerEntity
+ {
+ ///
+ /// 联系人
+ ///
+ [DataMapping(ColumnName = "Contact", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string Contact { get; set; }
+
+ ///
+ /// 当前客户类型
+ ///
+ public string NowCusType { get; set; }
+
+ ///
+ /// 总数量
+ ///
+ public double Num { get; set; }
+ }
+
+
+}
diff --git a/Git.Storage.Entity/Store/EquipmentEntity.cs b/Git.Storage.Entity/Store/EquipmentEntity.cs
new file mode 100644
index 0000000..4157b78
--- /dev/null
+++ b/Git.Storage.Entity/Store/EquipmentEntity.cs
@@ -0,0 +1,176 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:57:56
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:57:56
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Equipment", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class EquipmentEntity : BaseEntity
+ {
+ public EquipmentEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public EquipmentEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public EquipmentEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentName", DbType = DbType.String, Length = 100, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentName { get; set; }
+
+ public EquipmentEntity IncludeEquipmentName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentName"))
+ {
+ this.ColumnList.Add("EquipmentName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "EquipmentNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string EquipmentNum { get; set; }
+
+ public EquipmentEntity IncludeEquipmentNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("EquipmentNum"))
+ {
+ this.ColumnList.Add("EquipmentNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsImpower", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsImpower { get; set; }
+
+ public EquipmentEntity IncludeIsImpower(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsImpower"))
+ {
+ this.ColumnList.Add("IsImpower");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Flag", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Flag { get; set; }
+
+ public EquipmentEntity IncludeFlag(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Flag"))
+ {
+ this.ColumnList.Add("Flag");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public EquipmentEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public EquipmentEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 200, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public EquipmentEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public EquipmentEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public EquipmentEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class EquipmentEntity
+ {
+ ///
+ /// 设备当前状态
+ ///
+ public string NowStatus { get; set; }
+
+ ///
+ /// 设备授权状态
+ ///
+ public string ImpowerStatus { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Store/InventoryBookEntity.cs b/Git.Storage.Entity/Store/InventoryBookEntity.cs
new file mode 100644
index 0000000..1e5732f
--- /dev/null
+++ b/Git.Storage.Entity/Store/InventoryBookEntity.cs
@@ -0,0 +1,198 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/02 22:02:07
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/02 22:02:07
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "InventoryBook", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class InventoryBookEntity:BaseEntity
+ {
+ public InventoryBookEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public InventoryBookEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ProductNum { get; set; }
+
+ public InventoryBookEntity IncludeProductNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string BarCode { get; set; }
+
+ public InventoryBookEntity IncludeBarCode (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String,Length=100,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ProductName { get; set; }
+
+ public InventoryBookEntity IncludeProductName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double,Length=8,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public double Num { get; set; }
+
+ public InventoryBookEntity IncludeNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Type", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 Type { get; set; }
+
+ public InventoryBookEntity IncludeType (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Type"))
+ {
+ this.ColumnList.Add("Type");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContactOrder", DbType = DbType.String,Length=50,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ContactOrder { get; set; }
+
+ public InventoryBookEntity IncludeContactOrder (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContactOrder"))
+ {
+ this.ColumnList.Add("ContactOrder");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "FromLocalNum", DbType = DbType.String,Length=50,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string FromLocalNum { get; set; }
+
+ public InventoryBookEntity IncludeFromLocalNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("FromLocalNum"))
+ {
+ this.ColumnList.Add("FromLocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ToLocalNum", DbType = DbType.String,Length=50,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string ToLocalNum { get; set; }
+
+ public InventoryBookEntity IncludeToLocalNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ToLocalNum"))
+ {
+ this.ColumnList.Add("ToLocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StoreNum", DbType = DbType.String,Length=50,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string StoreNum { get; set; }
+
+ public InventoryBookEntity IncludeStoreNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StoreNum"))
+ {
+ this.ColumnList.Add("StoreNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime,Length=8,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime CreateTime { get; set; }
+
+ public InventoryBookEntity IncludeCreateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String,Length=50,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CreateUser { get; set; }
+
+ public InventoryBookEntity IncludeCreateUser (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class InventoryBookEntity
+ {
+ ///
+ /// 相关操作人
+ ///
+ [DataMapping(ColumnName = "UserName", DbType = DbType.String)]
+ public string UserName { get; set; }
+
+ ///
+ /// 原库位
+ ///
+ [DataMapping(ColumnName = "FromLocalName", DbType = DbType.String)]
+ public string FromLocalName { get; set; }
+
+ ///
+ /// 目标库位
+ ///
+ [DataMapping(ColumnName = "ToLocalName", DbType = DbType.String)]
+ public string ToLocalName { get; set; }
+
+ }
+
+}
diff --git a/Git.Storage.Entity/Store/LocalProductEntity.cs b/Git.Storage.Entity/Store/LocalProductEntity.cs
new file mode 100644
index 0000000..1741a02
--- /dev/null
+++ b/Git.Storage.Entity/Store/LocalProductEntity.cs
@@ -0,0 +1,307 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:30:39
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:30:39
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "LocalProduct", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class LocalProductEntity : BaseEntity
+ {
+ public LocalProductEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public LocalProductEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Sn", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Sn { get; set; }
+
+ public LocalProductEntity IncludeSn(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Sn"))
+ {
+ this.ColumnList.Add("Sn");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public LocalProductEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageName { get; set; }
+
+ public LocalProductEntity IncludeStorageName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageName"))
+ {
+ this.ColumnList.Add("StorageName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public LocalProductEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalName { get; set; }
+
+ public LocalProductEntity IncludeLocalName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalName"))
+ {
+ this.ColumnList.Add("LocalName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalType", DbType = DbType.Int32, Length = 4, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 LocalType { get; set; }
+
+ public LocalProductEntity IncludeLocalType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalType"))
+ {
+ this.ColumnList.Add("LocalType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductNum { get; set; }
+
+ public LocalProductEntity IncludeProductNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductNum"))
+ {
+ this.ColumnList.Add("ProductNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public LocalProductEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public LocalProductEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BatchNum", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BatchNum { get; set; }
+
+ public LocalProductEntity IncludeBatchNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BatchNum"))
+ {
+ this.ColumnList.Add("BatchNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public LocalProductEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public LocalProductEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public LocalProductEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateName { get; set; }
+
+ public LocalProductEntity IncludeCreateName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateName"))
+ {
+ this.ColumnList.Add("CreateName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public LocalProductEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class LocalProductEntity
+ {
+ ///
+ /// 提交数量
+ ///
+ [DataMapping(ColumnName = "Qty", DbType = DbType.Decimal)]
+ public double Qty { get; set; }
+
+ ///
+ /// 产品规格
+ ///
+ [DataMapping(ColumnName = "Size", DbType = DbType.String)]
+ public string Size { get; set; }
+
+ ///
+ /// 类别
+ ///
+ [DataMapping(ColumnName = "CateName", DbType = DbType.String)]
+ public string CateName { get; set; }
+
+ ///
+ /// 类别
+ ///
+ [DataMapping(ColumnName = "CateNum", DbType = DbType.String)]
+ public string CateNum { get; set; }
+
+ ///
+ /// 预警值下限
+ ///
+ [DataMapping(ColumnName = "MinNum", DbType = DbType.Decimal)]
+ public double MinNum { get; set; }
+
+ ///
+ /// 预警值上限
+ ///
+ [DataMapping(ColumnName = "MaxNum", DbType = DbType.Decimal)]
+ public double MaxNum { get; set; }
+
+ ///
+ /// 平均价格
+ ///
+ [DataMapping(ColumnName = "AvgPrice", DbType = DbType.Decimal)]
+ public double AvgPrice { get; set; }
+
+ ///
+ /// 产品价格
+ ///
+ [DataMapping(ColumnName = "InPrice", DbType = DbType.Decimal)]
+ public double InPrice { get; set; }
+
+ ///
+ /// 报损数量
+ ///
+ [DataMapping(ColumnName = "BadNum", DbType = DbType.Decimal)]
+ public double BadNum { get; set; }
+
+ ///
+ /// 移库数量
+ ///
+ [DataMapping(ColumnName = "MoveNum", DbType = DbType.Decimal)]
+ public double MoveNum { get; set; }
+
+ ///
+ /// 移入库位
+ ///
+ [DataMapping(ColumnName = "ToLocalNum", DbType = DbType.Decimal)]
+ public double ToLocalNum { get; set; }
+
+ ///
+ /// 总价格
+ ///
+ public double TotalPrice { get; set; }
+
+ ///
+ /// 所有总价格的和
+ ///
+ public double AllTotalPrice { get; set; }
+
+ ///
+ /// 所有库存数的和
+ ///
+ public double AllNum { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Store/LocationEntity.cs b/Git.Storage.Entity/Store/LocationEntity.cs
new file mode 100644
index 0000000..8350f7a
--- /dev/null
+++ b/Git.Storage.Entity/Store/LocationEntity.cs
@@ -0,0 +1,307 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-26 17:16:49
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-26 17:16:49
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Location", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class LocationEntity : BaseEntity
+ {
+ public LocationEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public LocationEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalNum { get; set; }
+
+ public LocationEntity IncludeLocalNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalNum"))
+ {
+ this.ColumnList.Add("LocalNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalBarCode", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalBarCode { get; set; }
+
+ public LocationEntity IncludeLocalBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalBarCode"))
+ {
+ this.ColumnList.Add("LocalBarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalName", DbType = DbType.String, Length = 60, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string LocalName { get; set; }
+
+ public LocationEntity IncludeLocalName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalName"))
+ {
+ this.ColumnList.Add("LocalName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public LocationEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 StorageType { get; set; }
+
+ public LocationEntity IncludeStorageType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageType"))
+ {
+ this.ColumnList.Add("StorageType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "LocalType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 LocalType { get; set; }
+
+ public LocationEntity IncludeLocalType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("LocalType"))
+ {
+ this.ColumnList.Add("LocalType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Rack", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Rack { get; set; }
+
+ public LocationEntity IncludeRack(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Rack"))
+ {
+ this.ColumnList.Add("Rack");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Length", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Length { get; set; }
+
+ public LocationEntity IncludeLength(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Length"))
+ {
+ this.ColumnList.Add("Length");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Width", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Width { get; set; }
+
+ public LocationEntity IncludeWidth(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Width"))
+ {
+ this.ColumnList.Add("Width");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Height", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Height { get; set; }
+
+ public LocationEntity IncludeHeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Height"))
+ {
+ this.ColumnList.Add("Height");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "X", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double X { get; set; }
+
+ public LocationEntity IncludeX(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("X"))
+ {
+ this.ColumnList.Add("X");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Y", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Y { get; set; }
+
+ public LocationEntity IncludeY(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Y"))
+ {
+ this.ColumnList.Add("Y");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Z", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Z { get; set; }
+
+ public LocationEntity IncludeZ(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Z"))
+ {
+ this.ColumnList.Add("Z");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UnitNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string UnitNum { get; set; }
+
+ public LocationEntity IncludeUnitNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UnitNum"))
+ {
+ this.ColumnList.Add("UnitNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UnitName", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string UnitName { get; set; }
+
+ public LocationEntity IncludeUnitName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UnitName"))
+ {
+ this.ColumnList.Add("UnitName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 8000, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public LocationEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsForbid", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsForbid { get; set; }
+
+ public LocationEntity IncludeIsForbid(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsForbid"))
+ {
+ this.ColumnList.Add("IsForbid");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDefault", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDefault { get; set; }
+
+ public LocationEntity IncludeIsDefault(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDefault"))
+ {
+ this.ColumnList.Add("IsDefault");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public LocationEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public LocationEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class LocationEntity
+ {
+ ///
+ /// 是否为默认值
+ ///
+ [DataMapping(ColumnName = "IsDefaultStr", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string IsDefaultStr { get; set; }
+
+ ///
+ /// 是否禁用
+ ///
+ [DataMapping(ColumnName = "IsForbidStr", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string IsForbidStr { get; set; }
+
+ ///
+ /// 库位类型
+ ///
+ [DataMapping(ColumnName = "LocalTypeName", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string LocalTypeName { get; set; }
+
+ public string StorageName { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Store/Proc_ProductReportEntity.cs b/Git.Storage.Entity/Store/Proc_ProductReportEntity.cs
new file mode 100644
index 0000000..fd8fed3
--- /dev/null
+++ b/Git.Storage.Entity/Store/Proc_ProductReportEntity.cs
@@ -0,0 +1,68 @@
+using Git.Framework.ORM;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Entity.Store
+{
+
+
+ [TableAttribute(DbName = "JooWMS", Name = "Proc_ProductReport", IsInternal = false, MapType = MapType.Proc)]
+ public partial class Proc_ProductReportEntity:BaseEntity
+ {
+ public Proc_ProductReportEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 ID { get; set; }
+
+ [DataMapping(ColumnName = "IsTime", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 IsTime { get; set; }
+
+ [DataMapping(ColumnName = "SearchKey", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string SearchKey { get; set; }
+
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50,ColumnType=ColumnType.InPut)]
+ public string ProductNum { get; set; }
+
+ [DataMapping(ColumnName = "LocalProductNum", DbType = DbType.Double, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public double LocalProductNum { get; set; }
+
+ [DataMapping(ColumnName = "InStorageNum", DbType = DbType.Double, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public double InStorageNum { get; set; }
+
+ [DataMapping(ColumnName = "OutStorageNum", DbType = DbType.Double, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public double OutStorageNum { get; set; }
+
+ [DataMapping(ColumnName = "BadReportNum", DbType = DbType.Double, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public double BadReportNum { get; set; }
+
+ [DataMapping(ColumnName = "TotalLocalProductNum", DbType = DbType.Double, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public double TotalLocalProductNum { get; set; }
+
+ [DataMapping(ColumnName = "TotalInStorageNum", DbType = DbType.Double, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public double TotalInStorageNum { get; set; }
+
+ [DataMapping(ColumnName = "TotalOutStorageNum", DbType = DbType.Double, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public double TotalOutStorageNum { get; set; }
+
+ [DataMapping(ColumnName = "TotalBadReportNum", DbType = DbType.Double, Length = 4000,ColumnType=ColumnType.InOutPut)]
+ public double TotalBadReportNum { get; set; }
+
+ [DataMapping(ColumnName = "BeginTime", DbType = DbType.DateTime, Length = 4000,ColumnType=ColumnType.InPut)]
+ public DateTime BeginTime { get; set; }
+
+ [DataMapping(ColumnName = "EndTime", DbType = DbType.DateTime, Length = 4000,ColumnType=ColumnType.InPut)]
+ public DateTime EndTime { get; set; }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4000,ColumnType=ColumnType.InPut)]
+ public Int32 IsDelete { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Store/Proc_StatisticsNumEntity.cs b/Git.Storage.Entity/Store/Proc_StatisticsNumEntity.cs
new file mode 100644
index 0000000..a2d999f
--- /dev/null
+++ b/Git.Storage.Entity/Store/Proc_StatisticsNumEntity.cs
@@ -0,0 +1,115 @@
+using Git.Framework.ORM;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Entity.Store
+{
+
+ [TableAttribute(DbName = "JooShowGit", Name = "Proc_StatisticsNum", IsInternal = false, MapType = MapType.Proc)]
+ public partial class Proc_StatisticsNumEntity : BaseEntity
+ {
+ ///
+ /// 统计产品库存数,进货总数,出货总数,报损总数实体
+ ///
+ public Proc_StatisticsNumEntity()
+ {
+ }
+
+ ///
+ /// ID
+ ///
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 ID { get; set; }
+
+ ///
+ /// 搜索关键词
+ ///
+ [DataMapping(ColumnName = "SearchKey", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string SearchKey { get; set; }
+
+ ///
+ /// 产品编号
+ ///
+ [DataMapping(ColumnName = "ProductNum", DbType = DbType.String, Length = 50, ColumnType = ColumnType.InPut)]
+ public string ProductNum { get; set; }
+
+ ///
+ /// 库存数量
+ ///
+ [DataMapping(ColumnName = "LocalProductNum", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 LocalProductNum { get; set; }
+
+ ///
+ /// 入库数量
+ ///
+ [DataMapping(ColumnName = "InStorageNum", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 InStorageNum { get; set; }
+
+ ///
+ /// 出库数量
+ ///
+ [DataMapping(ColumnName = "OutStorageNum", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 OutStorageNum { get; set; }
+
+ ///
+ /// 报损数量
+ ///
+ [DataMapping(ColumnName = "BadReportNum", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 BadReportNum { get; set; }
+
+ ///
+ /// 总计库存数量
+ ///
+ [DataMapping(ColumnName = "TotalLocalProductNum", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 TotalLocalProductNum { get; set; }
+
+ ///
+ /// 总计入库数量
+ ///
+ [DataMapping(ColumnName = "TotalInStorageNum", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 TotalInStorageNum { get; set; }
+
+ ///
+ /// 总计出库数量
+ ///
+ [DataMapping(ColumnName = "TotalOutStorageNum", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 TotalOutStorageNum { get; set; }
+
+ ///
+ /// 总计报损数量
+ ///
+ [DataMapping(ColumnName = "TotalBadReportNum", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InOutPut)]
+ public Int32 TotalBadReportNum { get; set; }
+
+ ///
+ /// 审核状态
+ ///
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 Status { get; set; }
+
+
+ ///
+ ///
+ ///
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 IsDelete { get; set; }
+
+
+
+ [DataMapping(ColumnName = "BeginTime", DbType = DbType.DateTime, Length = 8, ColumnType = ColumnType.InPut)]
+ public DateTime BeginTime { get; set; }
+
+
+ [DataMapping(ColumnName = "EndTime", DbType = DbType.DateTime, Length = 8, ColumnType = ColumnType.InPut)]
+ public DateTime EndTime { get; set; }
+
+ ///
+ /// 是否算上时间条件
+ ///
+ [DataMapping(ColumnName = "IsTime", DbType = DbType.Int32, Length = 4000, ColumnType = ColumnType.InPut)]
+ public Int32 IsTime { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Store/ProductCategoryEntity.cs b/Git.Storage.Entity/Store/ProductCategoryEntity.cs
new file mode 100644
index 0000000..1da511a
--- /dev/null
+++ b/Git.Storage.Entity/Store/ProductCategoryEntity.cs
@@ -0,0 +1,115 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:00
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:00
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "ProductCategory", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class ProductCategoryEntity:BaseEntity
+ {
+ public ProductCategoryEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=true,AutoIncrement=true,IsMap=true)]
+ public Int32 ID { get; set; }
+
+ public ProductCategoryEntity IncludeID (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CateNum", DbType = DbType.String,Length=15,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CateNum { get; set; }
+
+ public ProductCategoryEntity IncludeCateNum (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CateNum"))
+ {
+ this.ColumnList.Add("CateNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CateName", DbType = DbType.String,Length=100,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CateName { get; set; }
+
+ public ProductCategoryEntity IncludeCateName (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CateName"))
+ {
+ this.ColumnList.Add("CateName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32,Length=4,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public Int32 IsDelete { get; set; }
+
+ public ProductCategoryEntity IncludeIsDelete (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime,Length=8,CanNull=false,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public DateTime CreateTime { get; set; }
+
+ public ProductCategoryEntity IncludeCreateTime (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String,Length=40,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string CreateUser { get; set; }
+
+ public ProductCategoryEntity IncludeCreateUser (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String,Length=400,CanNull=true,DefaultValue=null,PrimaryKey=false,AutoIncrement=false,IsMap=true)]
+ public string Remark { get; set; }
+
+ public ProductCategoryEntity IncludeRemark (bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+}
diff --git a/Git.Storage.Entity/Store/ProductEntity.cs b/Git.Storage.Entity/Store/ProductEntity.cs
new file mode 100644
index 0000000..c5e264b
--- /dev/null
+++ b/Git.Storage.Entity/Store/ProductEntity.cs
@@ -0,0 +1,437 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 22:46:07
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 22:46:07
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Product", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class ProductEntity : BaseEntity
+ {
+ public ProductEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public ProductEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SnNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SnNum { get; set; }
+
+ public ProductEntity IncludeSnNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SnNum"))
+ {
+ this.ColumnList.Add("SnNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "BarCode", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string BarCode { get; set; }
+
+ public ProductEntity IncludeBarCode(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("BarCode"))
+ {
+ this.ColumnList.Add("BarCode");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ProductName", DbType = DbType.String, Length = 200, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ProductName { get; set; }
+
+ public ProductEntity IncludeProductName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ProductName"))
+ {
+ this.ColumnList.Add("ProductName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Num", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Num { get; set; }
+
+ public ProductEntity IncludeNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Num"))
+ {
+ this.ColumnList.Add("Num");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MinNum", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double MinNum { get; set; }
+
+ public ProductEntity IncludeMinNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MinNum"))
+ {
+ this.ColumnList.Add("MinNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "MaxNum", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double MaxNum { get; set; }
+
+ public ProductEntity IncludeMaxNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("MaxNum"))
+ {
+ this.ColumnList.Add("MaxNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UnitNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string UnitNum { get; set; }
+
+ public ProductEntity IncludeUnitNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UnitNum"))
+ {
+ this.ColumnList.Add("UnitNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "UnitName", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string UnitName { get; set; }
+
+ public ProductEntity IncludeUnitName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("UnitName"))
+ {
+ this.ColumnList.Add("UnitName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CateNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CateNum { get; set; }
+
+ public ProductEntity IncludeCateNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CateNum"))
+ {
+ this.ColumnList.Add("CateNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CateName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CateName { get; set; }
+
+ public ProductEntity IncludeCateName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CateName"))
+ {
+ this.ColumnList.Add("CateName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Size", DbType = DbType.String, Length = 800, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Size { get; set; }
+
+ public ProductEntity IncludeSize(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Size"))
+ {
+ this.ColumnList.Add("Size");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Color", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Color { get; set; }
+
+ public ProductEntity IncludeColor(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Color"))
+ {
+ this.ColumnList.Add("Color");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "InPrice", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double InPrice { get; set; }
+
+ public ProductEntity IncludeInPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("InPrice"))
+ {
+ this.ColumnList.Add("InPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "OutPrice", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double OutPrice { get; set; }
+
+ public ProductEntity IncludeOutPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("OutPrice"))
+ {
+ this.ColumnList.Add("OutPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "AvgPrice", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double AvgPrice { get; set; }
+
+ public ProductEntity IncludeAvgPrice(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("AvgPrice"))
+ {
+ this.ColumnList.Add("AvgPrice");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "NetWeight", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double NetWeight { get; set; }
+
+ public ProductEntity IncludeNetWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("NetWeight"))
+ {
+ this.ColumnList.Add("NetWeight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "GrossWeight", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double GrossWeight { get; set; }
+
+ public ProductEntity IncludeGrossWeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("GrossWeight"))
+ {
+ this.ColumnList.Add("GrossWeight");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Description", DbType = DbType.String, Length = 16, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Description { get; set; }
+
+ public ProductEntity IncludeDescription(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Description"))
+ {
+ this.ColumnList.Add("Description");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "PicUrl", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string PicUrl { get; set; }
+
+ public ProductEntity IncludePicUrl(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("PicUrl"))
+ {
+ this.ColumnList.Add("PicUrl");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public ProductEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public ProductEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public ProductEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public ProductEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "DefaultLocal", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string DefaultLocal { get; set; }
+
+ public ProductEntity IncludeDefaultLocal(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("DefaultLocal"))
+ {
+ this.ColumnList.Add("DefaultLocal");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusNum", DbType = DbType.String, Length = 20, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CusNum { get; set; }
+
+ public ProductEntity IncludeCusNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusNum"))
+ {
+ this.ColumnList.Add("CusNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CusName", DbType = DbType.String, Length = 60, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CusName { get; set; }
+
+ public ProductEntity IncludeCusName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CusName"))
+ {
+ this.ColumnList.Add("CusName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Display", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Display { get; set; }
+
+ public ProductEntity IncludeDisplay(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Display"))
+ {
+ this.ColumnList.Add("Display");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 16, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public ProductEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+ }
+
+ public partial class ProductEntity
+ {
+ ///
+ /// 库存数量
+ ///
+ public double LocalProductNum { get; set; }
+
+ ///
+ /// 库位
+ ///
+ public string LocalName { get; set; }
+
+ ///
+ /// 入库数量
+ ///
+ public double InStorageNum { get; set; }
+
+ ///
+ /// 入库数量所占比例
+ ///
+ public double InStorageNumPCT { get; set; }
+
+ ///
+ /// 出库数量
+ ///
+ public double OutStorageNum { get; set; }
+
+ ///
+ /// 出库数量所占比例
+ ///
+ public double OutStorageNumPCT { get; set; }
+
+ ///
+ /// 报损数量
+ ///
+ public double BadReportNum { get; set; }
+
+ ///
+ /// 总计库存数量
+ ///
+ public double TotalLocalProductNum { get; set; }
+
+ ///
+ /// 总计入库数量
+ ///
+ public double TotalInStorageNum { get; set; }
+
+ ///
+ /// 总计出库数量
+ ///
+ public double TotalOutStorageNum { get; set; }
+
+ ///
+ /// 总计报损数量
+ ///
+ public double TotalBadReportNum { get; set; }
+
+ }
+}
diff --git a/Git.Storage.Entity/Store/StorageEntity.cs b/Git.Storage.Entity/Store/StorageEntity.cs
new file mode 100644
index 0000000..3729b82
--- /dev/null
+++ b/Git.Storage.Entity/Store/StorageEntity.cs
@@ -0,0 +1,220 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-26 17:16:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-26 17:16:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Storage", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class StorageEntity : BaseEntity
+ {
+ public StorageEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public StorageEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageNum", DbType = DbType.String, Length = 20, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageNum { get; set; }
+
+ public StorageEntity IncludeStorageNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageNum"))
+ {
+ this.ColumnList.Add("StorageNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageName", DbType = DbType.String, Length = 100, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string StorageName { get; set; }
+
+ public StorageEntity IncludeStorageName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageName"))
+ {
+ this.ColumnList.Add("StorageName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "StorageType", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 StorageType { get; set; }
+
+ public StorageEntity IncludeStorageType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("StorageType"))
+ {
+ this.ColumnList.Add("StorageType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Length", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Length { get; set; }
+
+ public StorageEntity IncludeLength(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Length"))
+ {
+ this.ColumnList.Add("Length");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Width", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Width { get; set; }
+
+ public StorageEntity IncludeWidth(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Width"))
+ {
+ this.ColumnList.Add("Width");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Height", DbType = DbType.Double, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public double Height { get; set; }
+
+ public StorageEntity IncludeHeight(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Height"))
+ {
+ this.ColumnList.Add("Height");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Action", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Action { get; set; }
+
+ public StorageEntity IncludeAction(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Action"))
+ {
+ this.ColumnList.Add("Action");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public StorageEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Status", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 Status { get; set; }
+
+ public StorageEntity IncludeStatus(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Status"))
+ {
+ this.ColumnList.Add("Status");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsForbid", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsForbid { get; set; }
+
+ public StorageEntity IncludeIsForbid(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsForbid"))
+ {
+ this.ColumnList.Add("IsForbid");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDefault", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDefault { get; set; }
+
+ public StorageEntity IncludeIsDefault(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDefault"))
+ {
+ this.ColumnList.Add("IsDefault");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public StorageEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Remark", DbType = DbType.String, Length = 400, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Remark { get; set; }
+
+ public StorageEntity IncludeRemark(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Remark"))
+ {
+ this.ColumnList.Add("Remark");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class StorageEntity
+ {
+ ///
+ /// 仓库类型
+ ///
+ [DataMapping(ColumnName = "StorageTypeName", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string StorageTypeName { get; set; }
+
+ ///
+ /// 是否禁用
+ ///
+ [DataMapping(ColumnName = "IsForbidStr", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string IsForbidStr { get; set; }
+
+ ///
+ /// 是否默认
+ ///
+ [DataMapping(ColumnName = "IsDefaultStr", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = false)]
+ public string IsDefaultStr { get; set; }
+ }
+}
diff --git a/Git.Storage.Entity/Store/SupplierEntity.cs b/Git.Storage.Entity/Store/SupplierEntity.cs
new file mode 100644
index 0000000..4d0dbf2
--- /dev/null
+++ b/Git.Storage.Entity/Store/SupplierEntity.cs
@@ -0,0 +1,207 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:57:56
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:57:56
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+
+namespace Git.Storage.Entity.Store
+{
+ [TableAttribute(DbName = "JooWMS", Name = "Supplier", PrimaryKeyName = "ID", IsInternal = false)]
+ public partial class SupplierEntity : BaseEntity
+ {
+ public SupplierEntity()
+ {
+ }
+
+ [DataMapping(ColumnName = "ID", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = true, AutoIncrement = true, IsMap = true)]
+ public Int32 ID { get; set; }
+
+ public SupplierEntity IncludeID(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ID"))
+ {
+ this.ColumnList.Add("ID");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SupNum", DbType = DbType.String, Length = 50, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SupNum { get; set; }
+
+ public SupplierEntity IncludeSupNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SupNum"))
+ {
+ this.ColumnList.Add("SupNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SupName", DbType = DbType.String, Length = 100, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string SupName { get; set; }
+
+ public SupplierEntity IncludeSupName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SupName"))
+ {
+ this.ColumnList.Add("SupName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "SupType", DbType = DbType.Int32, Length = 4, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 SupType { get; set; }
+
+ public SupplierEntity IncludeSupType(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("SupType"))
+ {
+ this.ColumnList.Add("SupType");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Phone", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Phone { get; set; }
+
+ public SupplierEntity IncludePhone(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Phone"))
+ {
+ this.ColumnList.Add("Phone");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Fax", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Fax { get; set; }
+
+ public SupplierEntity IncludeFax(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Fax"))
+ {
+ this.ColumnList.Add("Fax");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Email", DbType = DbType.String, Length = 30, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Email { get; set; }
+
+ public SupplierEntity IncludeEmail(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Email"))
+ {
+ this.ColumnList.Add("Email");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContactName", DbType = DbType.String, Length = 40, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContactName { get; set; }
+
+ public SupplierEntity IncludeContactName(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContactName"))
+ {
+ this.ColumnList.Add("ContactName");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Address", DbType = DbType.String, Length = 200, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Address { get; set; }
+
+ public SupplierEntity IncludeAddress(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Address"))
+ {
+ this.ColumnList.Add("Address");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateUser", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string CreateUser { get; set; }
+
+ public SupplierEntity IncludeCreateUser(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateUser"))
+ {
+ this.ColumnList.Add("CreateUser");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "Description", DbType = DbType.String, Length = 16, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string Description { get; set; }
+
+ public SupplierEntity IncludeDescription(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("Description"))
+ {
+ this.ColumnList.Add("Description");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "ContractNum", DbType = DbType.String, Length = 50, CanNull = true, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public string ContractNum { get; set; }
+
+ public SupplierEntity IncludeContractNum(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("ContractNum"))
+ {
+ this.ColumnList.Add("ContractNum");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "IsDelete", DbType = DbType.Int32, Length = 4, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public Int32 IsDelete { get; set; }
+
+ public SupplierEntity IncludeIsDelete(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("IsDelete"))
+ {
+ this.ColumnList.Add("IsDelete");
+ }
+ return this;
+ }
+
+ [DataMapping(ColumnName = "CreateTime", DbType = DbType.DateTime, Length = 8, CanNull = false, DefaultValue = null, PrimaryKey = false, AutoIncrement = false, IsMap = true)]
+ public DateTime CreateTime { get; set; }
+
+ public SupplierEntity IncludeCreateTime(bool flag)
+ {
+ if (flag && !this.ColumnList.Contains("CreateTime"))
+ {
+ this.ColumnList.Add("CreateTime");
+ }
+ return this;
+ }
+
+ }
+
+ public partial class SupplierEntity
+ {
+ ///
+ /// 所有产品数
+ ///
+ public double Num { get; set; }
+ }
+}
diff --git a/Git.Storage.IDataAccess/Bad/IBadReport.cs b/Git.Storage.IDataAccess/Bad/IBadReport.cs
new file mode 100644
index 0000000..81af85a
--- /dev/null
+++ b/Git.Storage.IDataAccess/Bad/IBadReport.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:31:55
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:31:55
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Bad;
+
+namespace Git.Storage.IDataAccess.Bad
+{
+ public partial interface IBadReport : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Bad/IBadReportDetail.cs b/Git.Storage.IDataAccess/Bad/IBadReportDetail.cs
new file mode 100644
index 0000000..cc14a74
--- /dev/null
+++ b/Git.Storage.IDataAccess/Bad/IBadReportDetail.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:31:56
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:31:56
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Bad;
+
+namespace Git.Storage.IDataAccess.Bad
+{
+ public partial interface IBadReportDetail : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Bad/IProc_AuditeBadReport.cs b/Git.Storage.IDataAccess/Bad/IProc_AuditeBadReport.cs
new file mode 100644
index 0000000..f355123
--- /dev/null
+++ b/Git.Storage.IDataAccess/Bad/IProc_AuditeBadReport.cs
@@ -0,0 +1,14 @@
+using Git.Framework.ORM;
+using Git.Storage.Entity.Bad;
+using Git.Storage.Entity.InStorage;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.IDataAccess.Bad
+{
+ public partial interface IProc_AuditeBadReport : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Bad/IProc_BadTOP10Num.cs b/Git.Storage.IDataAccess/Bad/IProc_BadTOP10Num.cs
new file mode 100644
index 0000000..f607b2b
--- /dev/null
+++ b/Git.Storage.IDataAccess/Bad/IProc_BadTOP10Num.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/06/09 14:54:37
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/06/09 14:54:37
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Bad;
+
+namespace Git.Storage.IDataAccess.Bad
+{
+ public partial interface IProc_BadTOP10Num : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/IAdmin.cs b/Git.Storage.IDataAccess/Base/IAdmin.cs
new file mode 100644
index 0000000..090d575
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/IAdmin.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:55:40
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:55:40
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface IAdmin : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/IMeasure.cs b/Git.Storage.IDataAccess/Base/IMeasure.cs
new file mode 100644
index 0000000..ffb0ca5
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/IMeasure.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:00:56
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:00:56
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface IMeasure : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/IMeasureRel.cs b/Git.Storage.IDataAccess/Base/IMeasureRel.cs
new file mode 100644
index 0000000..767a9f9
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/IMeasureRel.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:01:01
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:01:01
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface IMeasureRel : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/ISequence.cs b/Git.Storage.IDataAccess/Base/ISequence.cs
new file mode 100644
index 0000000..af385a1
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/ISequence.cs
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/10/08 11:42:17
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/10/08 11:42:17
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface ISequence : IDbHelper
+ {
+ ///
+ /// 查询系统所有的自定义表信息
+ ///
+ ///
+ DataTable GetTables();
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/ISysDepart.cs b/Git.Storage.IDataAccess/Base/ISysDepart.cs
new file mode 100644
index 0000000..692d627
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/ISysDepart.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:55:38
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:55:38
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface ISysDepart : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/ISysRelation.cs b/Git.Storage.IDataAccess/Base/ISysRelation.cs
new file mode 100644
index 0000000..46ce1b2
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/ISysRelation.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:55:41
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:55:41
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface ISysRelation : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/ISysResource.cs b/Git.Storage.IDataAccess/Base/ISysResource.cs
new file mode 100644
index 0000000..4ad1ba7
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/ISysResource.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:55:42
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:55:42
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface ISysResource : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/ISysRole.cs b/Git.Storage.IDataAccess/Base/ISysRole.cs
new file mode 100644
index 0000000..1dde016
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/ISysRole.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:55:39
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:55:39
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface ISysRole : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/ITNum.cs b/Git.Storage.IDataAccess/Base/ITNum.cs
new file mode 100644
index 0000000..99d30d6
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/ITNum.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/09 23:01:06
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/09 23:01:06
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface ITNum : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/IVnArea.cs b/Git.Storage.IDataAccess/Base/IVnArea.cs
new file mode 100644
index 0000000..89ee7c3
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/IVnArea.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:55:45
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:55:45
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface IVnArea : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/IVnCity.cs b/Git.Storage.IDataAccess/Base/IVnCity.cs
new file mode 100644
index 0000000..3c7394a
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/IVnCity.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:55:44
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:55:44
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface IVnCity : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Base/IVnProvince.cs b/Git.Storage.IDataAccess/Base/IVnProvince.cs
new file mode 100644
index 0000000..6583c22
--- /dev/null
+++ b/Git.Storage.IDataAccess/Base/IVnProvince.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:55:43
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:55:43
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Base;
+
+namespace Git.Storage.IDataAccess.Base
+{
+ public partial interface IVnProvince : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Check/ICheckData.cs b/Git.Storage.IDataAccess/Check/ICheckData.cs
new file mode 100644
index 0000000..f2df5f1
--- /dev/null
+++ b/Git.Storage.IDataAccess/Check/ICheckData.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:16
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:16
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.IDataAccess.Check
+{
+ public partial interface ICheckData : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Check/ICheckStock.cs b/Git.Storage.IDataAccess/Check/ICheckStock.cs
new file mode 100644
index 0000000..0bbda0a
--- /dev/null
+++ b/Git.Storage.IDataAccess/Check/ICheckStock.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:11
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:11
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.IDataAccess.Check
+{
+ public partial interface ICheckStock : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Check/ICheckStockInfo.cs b/Git.Storage.IDataAccess/Check/ICheckStockInfo.cs
new file mode 100644
index 0000000..86459f5
--- /dev/null
+++ b/Git.Storage.IDataAccess/Check/ICheckStockInfo.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:12
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:12
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.IDataAccess.Check
+{
+ public partial interface ICheckStockInfo : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Check/ICloneHistory.cs b/Git.Storage.IDataAccess/Check/ICloneHistory.cs
new file mode 100644
index 0000000..94ae9db
--- /dev/null
+++ b/Git.Storage.IDataAccess/Check/ICloneHistory.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:18
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:18
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.IDataAccess.Check
+{
+ public partial interface ICloneHistory : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Check/ICloneTemp.cs b/Git.Storage.IDataAccess/Check/ICloneTemp.cs
new file mode 100644
index 0000000..84949ea
--- /dev/null
+++ b/Git.Storage.IDataAccess/Check/ICloneTemp.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:29:17
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:29:17
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.IDataAccess.Check
+{
+ public partial interface ICloneTemp : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Check/IProc_AuditeCheck.cs b/Git.Storage.IDataAccess/Check/IProc_AuditeCheck.cs
new file mode 100644
index 0000000..af27f51
--- /dev/null
+++ b/Git.Storage.IDataAccess/Check/IProc_AuditeCheck.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/15 21:38:09
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/15 21:38:09
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.IDataAccess.Check
+{
+ public partial interface IProc_AuditeCheck : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Check/IProc_CreateCheck.cs b/Git.Storage.IDataAccess/Check/IProc_CreateCheck.cs
new file mode 100644
index 0000000..2bb6f55
--- /dev/null
+++ b/Git.Storage.IDataAccess/Check/IProc_CreateCheck.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/15 10:47:49
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/15 10:47:49
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Check;
+
+namespace Git.Storage.IDataAccess.Check
+{
+ public partial interface IProc_CreateCheck : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Git.Storage.IDataAccess.csproj b/Git.Storage.IDataAccess/Git.Storage.IDataAccess.csproj
new file mode 100644
index 0000000..419716f
--- /dev/null
+++ b/Git.Storage.IDataAccess/Git.Storage.IDataAccess.csproj
@@ -0,0 +1,118 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {A5E5D75F-7A39-4E34-A9AA-519901B89114}
+ Library
+ Properties
+ Git.Storage.IDataAccess
+ Git.Storage.IDataAccess
+ v4.0
+ 512
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\Lib\Git.Framework.ORM.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {62f1847e-3906-43da-a80f-9977fb31f5ea}
+ Git.Storage.Entity
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Git.Storage.IDataAccess/InStorage/IInStorDetail.cs b/Git.Storage.IDataAccess/InStorage/IInStorDetail.cs
new file mode 100644
index 0000000..a63e953
--- /dev/null
+++ b/Git.Storage.IDataAccess/InStorage/IInStorDetail.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:01:21
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:01:21
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.InStorage;
+
+namespace Git.Storage.IDataAccess.InStorage
+{
+ public partial interface IInStorDetail : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/InStorage/IInStorSingle.cs b/Git.Storage.IDataAccess/InStorage/IInStorSingle.cs
new file mode 100644
index 0000000..9804528
--- /dev/null
+++ b/Git.Storage.IDataAccess/InStorage/IInStorSingle.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:01:21
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:01:21
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.InStorage;
+
+namespace Git.Storage.IDataAccess.InStorage
+{
+ public partial interface IInStorSingle : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/InStorage/IInStorage.cs b/Git.Storage.IDataAccess/InStorage/IInStorage.cs
new file mode 100644
index 0000000..9dc939d
--- /dev/null
+++ b/Git.Storage.IDataAccess/InStorage/IInStorage.cs
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:01:20
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:01:20
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.InStorage;
+using Git.Storage.Entity.Report;
+
+namespace Git.Storage.IDataAccess.InStorage
+{
+ public partial interface IInStorage : IDbHelper
+ {
+ ///
+ /// 查询指定时间段范围内各个产品的数量
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ List GetChartTop(int status,string storageNum,DateTime beginTime,DateTime endTime);
+ }
+}
diff --git a/Git.Storage.IDataAccess/InStorage/IProc_AuditeInStorage.cs b/Git.Storage.IDataAccess/InStorage/IProc_AuditeInStorage.cs
new file mode 100644
index 0000000..d034c89
--- /dev/null
+++ b/Git.Storage.IDataAccess/InStorage/IProc_AuditeInStorage.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/02 09:57:44
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/02 09:57:44
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.InStorage;
+
+namespace Git.Storage.IDataAccess.InStorage
+{
+ public partial interface IProc_AuditeInStorage : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/InStorage/IProc_InStorageReport.cs b/Git.Storage.IDataAccess/InStorage/IProc_InStorageReport.cs
new file mode 100644
index 0000000..f3ba555
--- /dev/null
+++ b/Git.Storage.IDataAccess/InStorage/IProc_InStorageReport.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-05-16 14:37:10
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-05-16 14:37:10
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.InStorage;
+
+namespace Git.Storage.IDataAccess.InStorage
+{
+ public partial interface IProc_InStorageReport : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Move/IMoveOrder.cs b/Git.Storage.IDataAccess/Move/IMoveOrder.cs
new file mode 100644
index 0000000..57c9306
--- /dev/null
+++ b/Git.Storage.IDataAccess/Move/IMoveOrder.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:33:10
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:33:10
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Move;
+
+namespace Git.Storage.IDataAccess.Move
+{
+ public partial interface IMoveOrder : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Move/IMoveOrderDetail.cs b/Git.Storage.IDataAccess/Move/IMoveOrderDetail.cs
new file mode 100644
index 0000000..2fb680a
--- /dev/null
+++ b/Git.Storage.IDataAccess/Move/IMoveOrderDetail.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:33:10
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:33:10
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Move;
+
+namespace Git.Storage.IDataAccess.Move
+{
+ public partial interface IMoveOrderDetail : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Move/IProc_AuditeMove.cs b/Git.Storage.IDataAccess/Move/IProc_AuditeMove.cs
new file mode 100644
index 0000000..22cdcd5
--- /dev/null
+++ b/Git.Storage.IDataAccess/Move/IProc_AuditeMove.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/05/01 10:31:10
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/05/01 10:31:10
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Move;
+
+namespace Git.Storage.IDataAccess.Move
+{
+ public partial interface IProc_AuditeMove : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Order/IOrderDetail.cs b/Git.Storage.IDataAccess/Order/IOrderDetail.cs
new file mode 100644
index 0000000..c8ef887
--- /dev/null
+++ b/Git.Storage.IDataAccess/Order/IOrderDetail.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-08-06 20:12:59
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-08-06 20:12:59
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Order;
+
+namespace Git.Storage.IDataAccess.Order
+{
+ public partial interface IOrderDetail : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Order/IOrders.cs b/Git.Storage.IDataAccess/Order/IOrders.cs
new file mode 100644
index 0000000..d8f6a05
--- /dev/null
+++ b/Git.Storage.IDataAccess/Order/IOrders.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-08-06 20:12:58
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-08-06 20:12:58
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Order;
+
+namespace Git.Storage.IDataAccess.Order
+{
+ public partial interface IOrders : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/OutStorage/IOutStoDetail.cs b/Git.Storage.IDataAccess/OutStorage/IOutStoDetail.cs
new file mode 100644
index 0000000..a3cd186
--- /dev/null
+++ b/Git.Storage.IDataAccess/OutStorage/IOutStoDetail.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:02:43
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:02:43
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.OutStorage;
+
+namespace Git.Storage.IDataAccess.OutStorage
+{
+ public partial interface IOutStoDetail : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/OutStorage/IOutStorSingle.cs b/Git.Storage.IDataAccess/OutStorage/IOutStorSingle.cs
new file mode 100644
index 0000000..2ae15b1
--- /dev/null
+++ b/Git.Storage.IDataAccess/OutStorage/IOutStorSingle.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:02:44
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:02:44
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.OutStorage;
+
+namespace Git.Storage.IDataAccess.OutStorage
+{
+ public partial interface IOutStorSingle : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/OutStorage/IOutStorage.cs b/Git.Storage.IDataAccess/OutStorage/IOutStorage.cs
new file mode 100644
index 0000000..fbe605f
--- /dev/null
+++ b/Git.Storage.IDataAccess/OutStorage/IOutStorage.cs
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 12:02:43
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 12:02:43
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.OutStorage;
+using Git.Storage.Entity.Report;
+
+namespace Git.Storage.IDataAccess.OutStorage
+{
+ public partial interface IOutStorage : IDbHelper
+ {
+ ///
+ /// 查询指定时间段范围内各个产品的数量
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ List GetChartTop(int status, string storageNum, DateTime beginTime, DateTime endTime);
+ }
+}
diff --git a/Git.Storage.IDataAccess/OutStorage/IProc_AuditeOutStorage.cs b/Git.Storage.IDataAccess/OutStorage/IProc_AuditeOutStorage.cs
new file mode 100644
index 0000000..acd8df3
--- /dev/null
+++ b/Git.Storage.IDataAccess/OutStorage/IProc_AuditeOutStorage.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/09 12:57:55
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/09 12:57:55
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.OutStorage;
+
+namespace Git.Storage.IDataAccess.OutStorage
+{
+ public partial interface IProc_AuditeOutStorage : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/OutStorage/IProc_OutStorageReport.cs b/Git.Storage.IDataAccess/OutStorage/IProc_OutStorageReport.cs
new file mode 100644
index 0000000..9777b44
--- /dev/null
+++ b/Git.Storage.IDataAccess/OutStorage/IProc_OutStorageReport.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014-05-21 14:20:24
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014-05-21 14:20:24
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.OutStorage;
+
+namespace Git.Storage.IDataAccess.OutStorage
+{
+ public partial interface IProc_OutStorageReport : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Procedure/IProc_SwiftNum.cs b/Git.Storage.IDataAccess/Procedure/IProc_SwiftNum.cs
new file mode 100644
index 0000000..a6c081b
--- /dev/null
+++ b/Git.Storage.IDataAccess/Procedure/IProc_SwiftNum.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-09-26 22:18:18
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-09-26 22:18:18
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Procedure;
+
+namespace Git.Storage.IDataAccess.Procedure
+{
+ public partial interface IProc_SwiftNum : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Properties/AssemblyInfo.cs b/Git.Storage.IDataAccess/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..6298856
--- /dev/null
+++ b/Git.Storage.IDataAccess/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下
+// 特性集控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Git.Storage.IDataAccess")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("workgroup")]
+[assembly: AssemblyProduct("Git.Storage.IDataAccess")]
+[assembly: AssemblyCopyright("Copyright © workgroup 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("756acda2-f6b4-49bc-8ffa-43d7c073b5d8")]
+
+// 程序集的版本信息由下面四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
+// 方法是按如下所示使用“*”:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Git.Storage.IDataAccess/Report/IReportParams.cs b/Git.Storage.IDataAccess/Report/IReportParams.cs
new file mode 100644
index 0000000..a5f1488
--- /dev/null
+++ b/Git.Storage.IDataAccess/Report/IReportParams.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/09/05 13:07:36
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/09/05 13:07:36
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Report;
+
+namespace Git.Storage.IDataAccess.Report
+{
+ public partial interface IReportParams : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Report/IReports.cs b/Git.Storage.IDataAccess/Report/IReports.cs
new file mode 100644
index 0000000..25f8bb7
--- /dev/null
+++ b/Git.Storage.IDataAccess/Report/IReports.cs
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2015/09/05 13:07:30
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2015/09/05 13:07:30
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Report;
+
+namespace Git.Storage.IDataAccess.Report
+{
+ public partial interface IReports : IDbHelper
+ {
+ ///
+ /// 根据存储过程名称查询元数据
+ ///
+ ///
+ ///
+ List GetMetadataList(string argProceName);
+
+ ///
+ /// 获取数据源
+ ///
+ ///
+ ///
+ ///
+ DataSet GetDataSource(ReportsEntity entity, List list);
+ }
+}
diff --git a/Git.Storage.IDataAccess/Return/IProc_AuditeReturn.cs b/Git.Storage.IDataAccess/Return/IProc_AuditeReturn.cs
new file mode 100644
index 0000000..cf69287
--- /dev/null
+++ b/Git.Storage.IDataAccess/Return/IProc_AuditeReturn.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/04/28 22:06:54
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/04/28 22:06:54
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Return;
+
+namespace Git.Storage.IDataAccess.Return
+{
+ public partial interface IProc_AuditeReturn : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Return/IProc_ReturnTOP10Num.cs b/Git.Storage.IDataAccess/Return/IProc_ReturnTOP10Num.cs
new file mode 100644
index 0000000..40eda5f
--- /dev/null
+++ b/Git.Storage.IDataAccess/Return/IProc_ReturnTOP10Num.cs
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/06/09 14:54:53
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Copyright: 太数智能科技(上海)有限公司
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/06/09 14:54:53
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Return;
+
+namespace Git.Storage.IDataAccess.Return
+{
+ public partial interface IProc_ReturnTOP10Num : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Return/IReturnDetail.cs b/Git.Storage.IDataAccess/Return/IReturnDetail.cs
new file mode 100644
index 0000000..4217b02
--- /dev/null
+++ b/Git.Storage.IDataAccess/Return/IReturnDetail.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:23:59
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:23:59
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Return;
+
+namespace Git.Storage.IDataAccess.Return
+{
+ public partial interface IReturnDetail : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Return/IReturnOrder.cs b/Git.Storage.IDataAccess/Return/IReturnOrder.cs
new file mode 100644
index 0000000..6190f7c
--- /dev/null
+++ b/Git.Storage.IDataAccess/Return/IReturnOrder.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/10 17:23:58
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/10 17:23:58
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Return;
+
+namespace Git.Storage.IDataAccess.Return
+{
+ public partial interface IReturnOrder : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/ICusAddress.cs b/Git.Storage.IDataAccess/Store/ICusAddress.cs
new file mode 100644
index 0000000..f3cc1ee
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/ICusAddress.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:49
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:49
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface ICusAddress : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/ICustomer.cs b/Git.Storage.IDataAccess/Store/ICustomer.cs
new file mode 100644
index 0000000..727c42c
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/ICustomer.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface ICustomer : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/IEquipment.cs b/Git.Storage.IDataAccess/Store/IEquipment.cs
new file mode 100644
index 0000000..7e67dd9
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/IEquipment.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:47
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:47
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface IEquipment : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/IInventoryBook.cs b/Git.Storage.IDataAccess/Store/IInventoryBook.cs
new file mode 100644
index 0000000..182bdab
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/IInventoryBook.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2014/03/02 22:02:50
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2014/03/02 22:02:50
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface IInventoryBook : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/ILocalProduct.cs b/Git.Storage.IDataAccess/Store/ILocalProduct.cs
new file mode 100644
index 0000000..a3dfdda
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/ILocalProduct.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-11-29 23:30:43
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-11-29 23:30:43
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface ILocalProduct : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/ILocation.cs b/Git.Storage.IDataAccess/Store/ILocation.cs
new file mode 100644
index 0000000..241ee16
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/ILocation.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:47
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:47
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface ILocation : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/IProc_ProductReport.cs b/Git.Storage.IDataAccess/Store/IProc_ProductReport.cs
new file mode 100644
index 0000000..9f15587
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/IProc_ProductReport.cs
@@ -0,0 +1,13 @@
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface IProc_ProductReport : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/IProc_StatisticsNum.cs b/Git.Storage.IDataAccess/Store/IProc_StatisticsNum.cs
new file mode 100644
index 0000000..31f2499
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/IProc_StatisticsNum.cs
@@ -0,0 +1,13 @@
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface IProc_StatisticsNum : IDbProcHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/IProduct.cs b/Git.Storage.IDataAccess/Store/IProduct.cs
new file mode 100644
index 0000000..c7cefa8
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/IProduct.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:53
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:53
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface IProduct : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/IProductCategory.cs b/Git.Storage.IDataAccess/Store/IProductCategory.cs
new file mode 100644
index 0000000..b3a3315
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/IProductCategory.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:52
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:52
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface IProductCategory : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/IStorage.cs b/Git.Storage.IDataAccess/Store/IStorage.cs
new file mode 100644
index 0000000..df62c6f
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/IStorage.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:46
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:46
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface IStorage : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.IDataAccess/Store/ISupplier.cs b/Git.Storage.IDataAccess/Store/ISupplier.cs
new file mode 100644
index 0000000..fb106a2
--- /dev/null
+++ b/Git.Storage.IDataAccess/Store/ISupplier.cs
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 代码工具自动生成
+ * Create Date: 2013-08-19 11:58:48
+ * Blog: http://www.cnblogs.com/qingyuan/
+ * Description: Git.Framework
+ *
+ * Revision History:
+ * Date Author Description
+ * 2013-08-19 11:58:48
+*********************************************************************************/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Store;
+
+namespace Git.Storage.IDataAccess.Store
+{
+ public partial interface ISupplier : IDbHelper
+ {
+ }
+}
diff --git a/Git.Storage.Provider/Bad/BadOrder.cs b/Git.Storage.Provider/Bad/BadOrder.cs
new file mode 100644
index 0000000..e8ab5a2
--- /dev/null
+++ b/Git.Storage.Provider/Bad/BadOrder.cs
@@ -0,0 +1,343 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-30 12:42:01
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-30 12:42:01 情缘
+*********************************************************************************/
+
+using Git.Storage.Entity.Bad;
+using Git.Framework.DataTypes;
+using Git.Framework.DataTypes.ExtensionMethods;
+using Git.Framework.Log;
+using Git.Framework.ORM;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Transactions;
+using Git.Storage.Common;
+using Git.Storage.Entity.Base;
+using Git.Storage.Provider.Store;
+using Git.Storage.Entity.Store;
+using System.Data;
+using Git.Storage.Provider.Base;
+
+namespace Git.Storage.Provider.Bad
+{
+ public partial class BadOrder : Bill
+ {
+ public BadOrder() { }
+
+
+ ///
+ /// 创建单据
+ ///
+ ///
+ ///
+ ///
+ public override string Create(BadReportEntity entity, List list)
+ {
+ using (TransactionScope ts = new TransactionScope())
+ {
+ int line = 0;
+ entity.OrderNum = entity.OrderNum.IsEmpty() ? SequenceProvider.GetSequence(typeof(BadReportEntity)) : entity.OrderNum;
+ entity.IncludeAll();
+ if (!list.IsNullOrEmpty())
+ {
+ list.ForEach(a =>
+ {
+ a.IncludeAll();
+ a.OrderNum = entity.OrderNum;
+ });
+ entity.Amount = list.Sum(q => q.Num);
+ entity.Amount = list.Sum(a => a.Amount);
+ line = this.BadReport.Add(entity);
+ line += this.BadReportDetail.Add(list);
+ }
+ ts.Complete();
+ return line > 0 ? EnumHelper.GetEnumDesc(EReturnStatus.Success) : string.Empty;
+ }
+ }
+
+ ///
+ /// 取消单据
+ ///
+ ///
+ ///
+ public override string Cancel(BadReportEntity entity)
+ {
+ //只有待审核状态的单据才能取消,已经成功的订单不能取消
+ BadReportEntity checkOrder = new BadReportEntity();
+ entity.Where(a => a.Status == (int)EAudite.Wait).And(a => a.OrderNum == entity.OrderNum);
+ if (this.BadReport.GetCount(checkOrder) > 0)
+ {
+ return EnumHelper.GetEnumDesc(EReturnStatus.Pass); //已经审核或者取消的订单不能审核
+ }
+ entity.Status = (int)EAudite.NotPass;
+ entity.IncludeStatus(true);
+ entity.Where(a => a.OrderNum == entity.OrderNum);
+ int line = this.BadReport.Update(entity);
+ return line > 0 ? EnumHelper.GetEnumDesc(EReturnStatus.Success) : string.Empty;
+ }
+
+ ///
+ /// 删除单据
+ ///
+ ///
+ ///
+ public override string Delete(BadReportEntity entity)
+ {
+ entity.IsDelete = (int)EIsDelete.Deleted;
+ entity.IncludeIsDelete(true);
+ entity.Where(a => a.OrderNum == entity.OrderNum);
+ int line = this.BadReport.Update(entity);
+ return line > 0 ? EnumHelper.GetEnumDesc(EReturnStatus.Success) : string.Empty;
+ }
+
+ ///
+ /// 审核单据
+ ///
+ ///
+ ///
+ public override string Audite(BadReportEntity entity)
+ {
+ if (entity.Status == (int)EAudite.NotPass)
+ {
+ entity.IncludeStatus(true).IncludeReason(true).IncludeAuditUser(true).Where(a => a.OrderNum == entity.OrderNum);
+ int line = this.BadReport.Update(entity);
+ return line > 0 ? "1000" : string.Empty;
+ }
+ else if (entity.Status == (int)EAudite.Pass)
+ {
+ Proc_AuditeBadReportEntity auditeEntity = new Proc_AuditeBadReportEntity();
+ auditeEntity.OrderNum = entity.OrderNum;
+ auditeEntity.Status = entity.Status;
+ auditeEntity.AuditUser = entity.AuditUser;
+ auditeEntity.Reason = entity.Reason;
+ auditeEntity.OperateType = entity.OperateType;
+ auditeEntity.EquipmentNum = entity.EquipmentNum;
+ auditeEntity.EquipmentCode = entity.EquipmentCode;
+ int line = this.Proc_AuditeBadReport.ExecuteNonQuery(auditeEntity);
+ return auditeEntity.ReturnValue;
+ }
+ return string.Empty;
+ }
+
+ ///
+ /// 打印单据
+ ///
+ ///
+ ///
+ public override string Print(BadReportEntity entity)
+ {
+ entity.IncludePrintUser(true).IncludePrintTime(true)
+ .Where(a => a.OrderNum == entity.OrderNum);
+ int line = this.BadReport.Update(entity);
+ return line > 0 ? EnumHelper.GetEnumDesc(EReturnStatus.Success) : string.Empty;
+ }
+
+ ///
+ /// 查询单据
+ ///
+ ///
+ ///
+ public override BadReportEntity GetOrder(BadReportEntity entity)
+ {
+ entity.IncludeAll();
+ AdminEntity admin = new AdminEntity();
+ admin.Include(a => new { CreateUserName = a.UserName });
+ entity.Left(admin, new Params() { Item1 = "CreateUser", Item2 = "UserCode" });
+ entity.Where(a => a.OrderNum == entity.OrderNum);
+ entity = this.BadReport.GetSingle(entity);
+ return entity;
+ }
+
+ ///
+ /// 获得单据详细信息
+ ///
+ ///
+ ///
+ public override List GetOrderDetail(BadReportDetailEntity entity)
+ {
+ BadReportDetailEntity detail = new BadReportDetailEntity();
+ detail.IncludeAll();
+ detail.Where(a => a.OrderNum == entity.OrderNum);
+ List list = this.BadReportDetail.GetList(detail);
+ if (!list.IsNullOrEmpty())
+ {
+ List listLocation = new LocationProvider().GetList();
+ listLocation = listLocation == null ? new List() : listLocation;
+ foreach (BadReportDetailEntity item in list)
+ {
+ LocationEntity location = listLocation.FirstOrDefault(a => a.LocalNum == item.FromLocalNum);
+ item.FromLocalName = location == null ? "" : location.LocalName;
+
+ location = listLocation.FirstOrDefault(a => a.LocalNum == item.ToLocalNum);
+ item.ToLocalName = location == null ? "" : location.LocalName;
+ if (item.Amount == 0)
+ {
+ item.Amount = item.InPrice * item.Num;
+ }
+ }
+ }
+ return list;
+ }
+
+ ///
+ /// 查询单据分页
+ ///
+ ///
+ ///
+ ///
+ public override List GetList(BadReportEntity entity, ref Framework.DataTypes.PageInfo pageInfo)
+ {
+ entity.IncludeAll();
+ entity.Where(a => a.IsDelete == (int)EIsDelete.NotDelete);
+ entity.OrderBy(a => a.ID, EOrderBy.DESC);
+ AdminEntity admin = new AdminEntity();
+ admin.Include(a => new { CreateUserName = a.UserName });
+ entity.Left(admin, new Params() { Item1 = "CreateUser", Item2 = "UserCode" });
+ int rowCount = 0;
+ List listResult = this.BadReport.GetList(entity, pageInfo.PageSize, pageInfo.PageIndex, out rowCount);
+ pageInfo.RowCount = rowCount;
+ return listResult;
+ }
+
+ ///
+ /// 查询单据详细数据分页
+ ///
+ ///
+ ///
+ ///
+ public override List GetDetailList(BadReportDetailEntity entity, ref Framework.DataTypes.PageInfo pageInfo)
+ {
+ BadReportDetailEntity detail = new BadReportDetailEntity();
+ detail.Where(a => a.OrderNum == entity.OrderNum);
+ detail.IncludeAll();
+ detail.OrderBy(a => a.ID, EOrderBy.DESC);
+ int rowCount = 0;
+ List listResult = this.BadReportDetail.GetList(detail, pageInfo.PageSize, pageInfo.PageIndex, out rowCount);
+ pageInfo.RowCount = rowCount;
+ if (!listResult.IsNullOrEmpty())
+ {
+ List listLocation = new LocationProvider().GetList();
+ listLocation = listLocation == null ? new List() : listLocation;
+ foreach (BadReportDetailEntity item in listResult)
+ {
+ LocationEntity location = listLocation.FirstOrDefault(a => a.LocalNum == item.FromLocalNum);
+ item.FromLocalName = location == null ? "" : location.LocalName;
+
+ location = listLocation.FirstOrDefault(a => a.LocalNum == item.ToLocalNum);
+ item.ToLocalName = location == null ? "" : location.LocalName;
+ if (item.Amount == 0)
+ {
+ item.Amount = item.InPrice * item.Num;
+ }
+ }
+ }
+ return listResult;
+ }
+
+ ///
+ /// 编辑单据信息
+ ///
+ ///
+ ///
+ public override string EditOrder(BadReportEntity entity)
+ {
+ entity.Include(a => new { a.BadType, a.ProductType, a.ContractOrder, a.Remark, a.Amount, a.Num });
+ entity.Where(a => a.OrderNum == entity.OrderNum);
+ int line = this.BadReport.Update(entity);
+ return line > 0 ? EnumHelper.GetEnumDesc(EReturnStatus.Success) : string.Empty;
+ }
+
+ ///
+ /// 编辑单据详细信息
+ ///
+ ///
+ ///
+ public override string EditDetail(BadReportDetailEntity entity)
+ {
+ entity.Where(a => a.SnNum == entity.SnNum);
+ int line = this.BadReportDetail.Update(entity);
+ return line > 0 ? EnumHelper.GetEnumDesc(EReturnStatus.Success) : string.Empty;
+ }
+
+ ///
+ /// 获得订单数量
+ ///
+ ///
+ ///
+ public override int GetCount(BadReportEntity entity)
+ {
+ return this.BadReport.GetCount(entity);
+ }
+
+ ///
+ /// 编辑报损单
+ ///
+ ///
+ ///
+ ///
+ public override string EditOrder(BadReportEntity entity, List list)
+ {
+ using (TransactionScope ts = new TransactionScope())
+ {
+ int line = 0;
+ entity.Include(a => new { a.BadType, a.ProductType, a.ContractOrder, a.Remark, a.Amount, a.Num });
+ entity.Where(a => a.OrderNum == entity.OrderNum);
+ BadReportDetailEntity detail = new BadReportDetailEntity();
+ detail.Where(a => a.OrderNum == entity.OrderNum);
+ this.BadReportDetail.Delete(detail);
+ foreach (BadReportDetailEntity item in list)
+ {
+ item.OrderNum = entity.OrderNum;
+ item.IncludeAll();
+ }
+ entity.Num = list.Sum(a => a.Num);
+ entity.Amount = list.Sum(a => a.Amount);
+ line = this.BadReport.Update(entity);
+ this.BadReportDetail.Add(list);
+ ts.Complete();
+ return line > 0 ? EnumHelper.GetEnumDesc(EReturnStatus.Success) : string.Empty;
+ }
+ }
+
+ ///
+ /// 获得打印单据的数据源
+ ///
+ ///
+ ///
+ public override DataSet GetPrint(string argOrderNum)
+ {
+ DataSet ds = new DataSet();
+ BadReportEntity entity = new BadReportEntity();
+ entity.OrderNum = argOrderNum;
+ entity = GetOrder(entity);
+ if (entity != null)
+ {
+ List list = new List();
+ list.Add(entity);
+ DataTable tableOrder = list.ToDataTable();
+ ds.Tables.Add(tableOrder);
+
+ BadReportDetailEntity detail = new BadReportDetailEntity();
+ detail.OrderNum = argOrderNum;
+ List listDetail = GetOrderDetail(detail);
+ if (!listDetail.IsNullOrEmpty())
+ {
+ DataTable tableDetail = listDetail.ToDataTable();
+ ds.Tables.Add(tableDetail);
+ }
+ }
+
+ return ds;
+ }
+ }
+}
diff --git a/Git.Storage.Provider/Bad/BadProvider.cs b/Git.Storage.Provider/Bad/BadProvider.cs
new file mode 100644
index 0000000..3a89cd1
--- /dev/null
+++ b/Git.Storage.Provider/Bad/BadProvider.cs
@@ -0,0 +1,142 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-11-30 12:45:13
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-11-30 12:45:13 情缘
+*********************************************************************************/
+
+using Git.Framework.Log;
+using Git.Framework.ORM;
+using Git.Storage.Entity.Bad;
+using Git.Storage.Entity.Store;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Transactions;
+using Git.Framework.DataTypes.ExtensionMethods;
+using Git.Framework.DataTypes;
+using Git.Storage.Common;
+
+namespace Git.Storage.Provider.Bad
+{
+ public partial class BadProvider : DataFactory
+ {
+ private Log log = Log.Instance(typeof(BadProvider));
+ public BadProvider() { }
+
+ ///
+ /// 获得库存信息
+ ///
+ ///
+ ///
+ public List GetList(string barCode)
+ {
+ LocalProductEntity entity = new LocalProductEntity();
+ entity.IncludeAll();
+ entity.OrderBy(a => a.ID, EOrderBy.DESC);
+ entity.Where(a => a.BarCode == barCode).Or(a => a.ProductNum == barCode);
+
+ LocationEntity location = new LocationEntity();
+ entity.Left(location, new Params() { Item1 = "LocalNum", Item2 = "LocalNum" });
+ location.Where(a => a.LocalType == (int)ELocalType.Normal);
+ List listResult = this.LocalProduct.GetList(entity);
+ return listResult;
+ }
+
+ ///
+ /// 报损产品TOP10
+ ///
+ ///
+ ///
+ ///
+ public List GetListTOP10(int queryTime, string storageNum)
+ {
+ Proc_BadTOP10NumEntity entity = new Proc_BadTOP10NumEntity();
+ List list = new List();
+ entity.ProductNum = string.Empty;
+ entity.StorageNum = storageNum;
+ entity.BeginTime = DateTime.Now.AddDays(-queryTime);
+ entity.EndTime = DateTime.Now;
+ entity.Status = (int)EAudite.Pass;
+ entity.IsDelete = (int)EIsDelete.NotDelete;
+ List listResult = this.Proc_BadTOP10Num.ExceuteEntityList(entity);
+ if (!listResult.IsNullOrEmpty())
+ {
+ foreach (Proc_BadTOP10NumEntity item in listResult)
+ {
+ if (item.TotalNum > 0)
+ {
+ list.Add(item);
+ }
+ }
+ }
+ if (entity.TotalNum > 0)
+ {
+ entity.ProductName = "其他";
+ list.Add(entity);
+ }
+ return list;
+ }
+
+ ///
+ /// 查询单据分页
+ ///
+ ///
+ ///
+ ///
+ ///
+ public List GetList(BadReportEntity entity, ref PageInfo pageInfo, string storageNum)
+ {
+ entity.IncludeAll();
+ entity.Where(a => a.IsDelete == (int)EIsDelete.NotDelete);
+ entity.And("Status", ECondition.Eth, (int)EAudite.Pass);
+ entity.OrderBy(a => a.ID, EOrderBy.DESC);
+ BadReportDetailEntity badDetail = new BadReportDetailEntity();
+ badDetail.Include(a => new { ProductName = a.ProductName, BarCode = a.BarCode, ProductNum = a.ProductNum });
+ badDetail.Where(a => a.StorageNum == storageNum);
+ entity.Left(badDetail, new Params() { Item1 = "OrderNum", Item2 = "OrderNum" });
+ int rowCount = 0;
+ List listResult = this.BadReport.GetList(entity, pageInfo.PageSize, pageInfo.PageIndex, out rowCount);
+ int allNum = GetAllNum();
+ if (!listResult.IsNullOrEmpty())
+ {
+ foreach (BadReportEntity item in listResult)
+ {
+ item.NumPCT = (item.Num * 100.00f) / allNum;
+ }
+ }
+ pageInfo.RowCount = rowCount;
+ return listResult;
+ }
+
+ ///
+ /// 获得所有报损数量
+ ///
+ ///
+ public int GetAllNum()
+ {
+ BadReportEntity entity = new BadReportEntity();
+ entity.IncludeNum(true);
+ entity.Where("Status", ECondition.Eth, (int)EAudite.Pass);
+ entity.And("IsDelete", ECondition.Eth, (int)EIsDelete.NotDelete);
+ int allNum = 0;
+ try
+ {
+ allNum = this.BadReport.Sum(entity);
+ }
+ catch (Exception e)
+ {
+ allNum = 0;
+ log.Info(e.Message);
+ }
+ return allNum;
+ }
+ }
+}
diff --git a/Git.Storage.Provider/Base/AdminProvider.cs b/Git.Storage.Provider/Base/AdminProvider.cs
new file mode 100644
index 0000000..be7bcf6
--- /dev/null
+++ b/Git.Storage.Provider/Base/AdminProvider.cs
@@ -0,0 +1,219 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-09-01 15:10:06
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-09-01 15:10:06 情缘
+*********************************************************************************/
+
+using Git.Framework.DataTypes;
+using Git.Storage.Entity.Base;
+using Git.Framework.DataTypes.ExtensionMethods;
+using Git.Framework.ORM;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Git.Storage.Common;
+using Git.Framework.Log;
+using System.Transactions;
+
+namespace Git.Storage.Provider.Base
+{
+ public partial class AdminProvider : DataFactory
+ {
+ private Log log = Log.Instance(typeof(AdminProvider));
+
+ public AdminProvider() { }
+
+ ///
+ /// 查询用户管理员分页
+ ///
+ ///
+ ///
+ ///
+ public List GetList(AdminEntity entity, ref PageInfo pageInfo)
+ {
+ entity.IncludeAll();
+ entity.OrderBy(a => a.ID, EOrderBy.DESC);
+ entity.Where(a => a.IsDelete == (int)EIsDelete.NotDelete);
+ SysRoleEntity roleEntity = new SysRoleEntity();
+ roleEntity.Include("RoleName", "RoleName");
+ entity.Left(roleEntity, new Params() { Item1 = "RoleNum", Item2 = "RoleNum" });
+ SysDepartEntity departEntity = new SysDepartEntity();
+ departEntity.Include("DepartName", "DepartName");
+ entity.Left(departEntity, new Params() { Item1 = "DepartNum", Item2 = "DepartNum" });
+ int rowCount = 0;
+ List listResult = this.Admin.GetList(entity, pageInfo.PageSize, pageInfo.PageIndex, out rowCount);
+ pageInfo.RowCount = rowCount;
+ return listResult;
+ }
+
+ ///
+ /// 添加用户
+ ///
+ ///
+ ///
+ public int AddAdmin(AdminEntity entity)
+ {
+ entity.IsDelete = (int)EIsDelete.NotDelete;
+ entity.CreateTime = DateTime.Now;
+ entity.ParentCode = "";
+ entity.IncludeAll();
+ int line = this.Admin.Add(entity);
+ return line;
+ }
+
+ ///
+ /// 删除
+ ///
+ ///
+ ///
+ public int Delete(string userCode)
+ {
+ AdminEntity entity = new AdminEntity();
+ entity.IsDelete = (int)EIsDelete.Deleted;
+ entity.IncludeIsDelete(true);
+ entity.Where(a => a.UserCode == userCode);
+ int line = this.Admin.Update(entity);
+ return line;
+ }
+
+ ///
+ /// 根据用户编号获得用户信息
+ ///
+ ///
+ ///
+ public AdminEntity GetAdmin(string userCode)
+ {
+ AdminEntity entity = new AdminEntity();
+ entity.Include(a => new { a.ID, a.UserCode, a.UserName, a.PassWord, a.Email, a.Phone, a.Mobile, a.RealName, a.RoleNum, a.DepartNum });
+ entity.Where(a => a.UserCode == userCode);
+ entity = this.Admin.GetSingle(entity);
+ return entity;
+ }
+
+ ///
+ /// 修改
+ ///
+ ///
+ ///
+ public int Update(AdminEntity entity)
+ {
+ entity.Include(a => new { a.Phone, a.Email, a.Mobile, a.RealName, a.RoleNum, a.DepartNum, a.UserName, a.PassWord, a.UpdateTime });
+ entity.Where(a => a.UserCode == entity.UserCode);
+ int line = this.Admin.Update(entity);
+ return line;
+ }
+
+ ///
+ /// 修改密码
+ ///
+ ///
+ ///
+ public int UpdatePwd(AdminEntity entity)
+ {
+ entity.Include(a => a.PassWord);
+ entity.Where(a => a.UserCode == entity.UserCode);
+ int line = this.Admin.Update(entity);
+ return line;
+ }
+
+ ///
+ /// 登录
+ ///
+ ///
+ ///
+ ///
+ public AdminEntity Login(string userName, string passWord)
+ {
+ AdminEntity entity = new AdminEntity();
+ entity.IncludeAll();
+ entity.Where(a => a.UserName == userName).And(a => a.PassWord == passWord);
+ SysRoleEntity roleEntity = new SysRoleEntity();
+ roleEntity.Include("RoleName", "RoleName");
+ entity.Left(roleEntity, new Params() { Item1 = "RoleNum", Item2 = "RoleNum" });
+ entity = this.Admin.GetSingle(entity);
+ if (entity != null)
+ {
+ AdminEntity admin = new AdminEntity();
+ admin.LoginCount = admin.LoginCount + 1;
+ admin.IncludeLoginCount(true);
+ admin.Where(a => a.UserCode == entity.UserCode);
+ this.Admin.Update(admin);
+ }
+ return entity;
+ }
+
+ ///
+ /// 修改员工登录次数
+ ///
+ ///
+ ///
+ ///
+ ///
+ public int UpdateLoginCount(string userName, string passWord, int loginCount)
+ {
+ AdminEntity countEntity = new AdminEntity() { UserName = userName, PassWord = passWord };
+ countEntity.IncludeLoginCount(true);
+ countEntity.LoginCount = loginCount + 1;
+ countEntity.Where("UserName", ECondition.Eth).And("PassWord", ECondition.Eth);
+ int line = this.Admin.Update(countEntity);
+ return line;
+ }
+
+ ///
+ /// 导入数据
+ ///
+ ///
+ ///
+ public string ImportProCateData(List list)
+ {
+ string msg = "";
+ try
+ {
+ foreach (var entity in list)
+ {
+ entity.IncludeAll();
+ entity.UserCode = SequenceProvider.GetSequence(typeof(AdminEntity));
+ entity.PassWord = "000000";
+ entity.IsDelete = (int)EIsDelete.NotDelete;
+ entity.CreateTime = DateTime.Now;
+ entity.UpdateTime = DateTime.Now;
+ entity.ParentCode = string.Empty;
+ entity.RoleNum = string.Empty;
+ }
+ this.Admin.Add(list);
+ }
+ catch (Exception ex)
+ {
+ msg = ex.Message;
+ }
+
+ return msg;
+ }
+
+ ///
+ /// 检查用户名是否存在
+ ///
+ ///
+ ///
+ public bool IsExist(string userName)
+ {
+ AdminEntity entity = new AdminEntity();
+ entity.Include(a => new { a.ID, a.UserCode, a.UserName, a.PassWord, a.Email, a.Phone, a.Mobile, a.RealName, a.RoleNum, a.DepartNum });
+ entity.Where(a => a.UserName == userName).And(a => a.IsDelete == (int)EIsDelete.NotDelete);
+ entity = this.Admin.GetSingle(entity);
+ if (entity.IsNotNull())
+ {
+ return true;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Git.Storage.Provider/Base/DepartProvider.cs b/Git.Storage.Provider/Base/DepartProvider.cs
new file mode 100644
index 0000000..a32329d
--- /dev/null
+++ b/Git.Storage.Provider/Base/DepartProvider.cs
@@ -0,0 +1,286 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2013-09-26 21:04:18
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2013-09-26 21:04:18 情缘
+*********************************************************************************/
+
+using Git.Framework.Cache;
+using Git.Framework.Log;
+using Git.Framework.Resource;
+using Git.Storage.Entity.Base;
+using Git.Framework.DataTypes;
+using Git.Framework.DataTypes.ExtensionMethods;
+using Git.Framework.ORM;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Git.Storage.Common;
+
+namespace Git.Storage.Provider.Base
+{
+ public partial class DepartProvider : DataFactory
+ {
+ private Log log = Log.Instance(typeof(DepartProvider));
+
+ public DepartProvider() { }
+
+ ///
+ /// 获得所有的部门信息
+ ///
+ ///
+ public List GetList()
+ {
+ List listResult = CacheHelper.Get(CacheKey.JOOSHOW_SYSDEPART_CACHE) as List;
+ if (!listResult.IsNullOrEmpty())
+ {
+ return listResult;
+ }
+ SysDepartEntity temp = new SysDepartEntity();
+ temp.IncludeID(true)
+ .IncludeChildCount(true)
+ .IncludeCreateTime(true)
+ .IncludeDepartName(true)
+ .IncludeDepartNum(true)
+ .IncludeDepth(true)
+ .IncludeParentNum(true)
+ ;
+ temp.Where(a => a.IsDelete == (int)EIsDelete.NotDelete);
+ listResult = this.SysDepart.GetList(temp);
+ if (!listResult.IsNullOrEmpty())
+ {
+ foreach (SysDepartEntity entity in listResult.Where(itemParent => !string.IsNullOrEmpty(itemParent.ParentNum)))
+ {
+ SysDepartEntity tempEntity = listResult.SingleOrDefault(item => item.DepartNum == entity.ParentNum);
+ if (!tempEntity.IsNull())
+ {
+ entity.ParentName = tempEntity.DepartName;
+ }
+ }
+ CacheHelper.Insert(CacheKey.JOOSHOW_SYSDEPART_CACHE, listResult, null, DateTime.Now.AddHours(5));
+ }
+ return listResult;
+ }
+
+ ///
+ /// 根据部门编号获得部门信息
+ ///
+ ///
+ ///
+ public SysDepartEntity GetSingle(string departNum)
+ {
+ List listResult = GetList();
+ if (!listResult.IsNullOrEmpty() && !departNum.IsEmpty())
+ {
+ SysDepartEntity entity = listResult.SingleOrDefault(item => item.DepartNum == departNum);
+ return entity;
+ }
+ return null;
+ }
+
+ ///
+ /// 添加部门
+ ///
+ ///
+ ///
+ public int Add(SysDepartEntity entity)
+ {
+ entity.DepartNum = entity.DepartNum.IsEmpty() ? DateTime.Now.ToString("yyyyMMddHHmmss") + (new Random(DateTime.Now.Millisecond)).Next(1000, 9999) : entity.DepartNum;
+ entity.ChildCount = 0;
+ SysDepartEntity parent = GetSingle(entity.ParentNum);
+ if (parent.IsNotNull())
+ {
+ entity.Depth = parent.Depth + 1;
+ parent.ChildCount++;
+ parent.IncludeDepth(true)
+ .IncludeChildCount(true)
+ .Where("DepartNum", ECondition.Eth);
+ this.SysDepart.Update(parent);
+ }
+ entity.IncludeDepartNum(true)
+ .IncludeDepartName(true)
+ .IncludeChildCount(true)
+ .IncludeParentNum(true)
+ .IncludeDepth(true)
+ .IncludeIsDelete(true)
+ .IncludeCreateTime(true)
+ ;
+ int line = this.SysDepart.Add(entity);
+ if (line > 0)
+ {
+ CacheHelper.Remove(CacheKey.JOOSHOW_SYSDEPART_CACHE);
+ }
+ return line;
+ }
+
+
+ ///
+ /// 修改部门信息(修改部门名称)
+ /// 根据主键和父类编号修改部门信息
+ ///
+ ///
+ ///
+ public int UpdateDepart(SysDepartEntity entity)
+ {
+ entity.ThrowIfNull("修改部门信息对象为空");
+ entity.IncludeDepartName(true)
+ ;
+ //entity.Where("ID", ECondition.Eth)
+ // .And("ParentNum", ECondition.Eth);
+ entity.Where(a => a.DepartNum == entity.DepartNum);
+ int line = this.SysDepart.Update(entity);
+ if (line > 0)
+ {
+ CacheHelper.Remove(CacheKey.JOOSHOW_SYSDEPART_CACHE);
+ }
+ return line;
+ }
+
+ ///
+ /// 根据主键编号修改部门信息(修改部门名和部门级别)
+ ///
+ ///
+ ///
+ public int UpdateDepartByID(SysDepartEntity entity)
+ {
+ entity.IncludeDepartName(true)
+ .IncludeParentNum(true);
+ entity.Where("ID", ECondition.Eth);
+ int line = this.SysDepart.Update(entity);
+ if (line > 0)
+ {
+ CacheHelper.Remove(CacheKey.JOOSHOW_SYSDEPART_CACHE);
+ }
+ return line;
+ }
+
+ ///
+ /// 根据主键编号获得部门信息
+ ///
+ ///
+ ///
+ public SysDepartEntity GetDepartEntity(int id)
+ {
+ return this.SysDepart.GetSingle(id);
+ }
+
+ ///
+ /// 根据部门编号获得部门信息
+ ///
+ ///
+ ///
+ public SysDepartEntity GetDepartEntity(string DepartNum)
+ {
+ SysDepartEntity entity = new SysDepartEntity() { DepartNum = DepartNum };
+ entity.IncludeID(true)
+ .IncludeDepartNum(true)
+ .IncludeDepartName(true)
+ .IncludeParentNum(true)
+ .Where("DepartNum", ECondition.Eth);
+ return this.SysDepart.GetSingle(entity);
+ }
+
+ ///
+ /// 根据主键编号和父类编号获得部门信息
+ ///
+ ///
+ ///
+ ///
+ public SysDepartEntity GetDepartEntity(int id, string ParentNum)
+ {
+ SysDepartEntity entity = new SysDepartEntity() { ID = id, ParentNum = ParentNum };
+ entity.IncludeID(true)
+ .IncludeDepartNum(true)
+ .IncludeDepartName(true)
+ .IncludeParentNum(true)
+ .IncludeChildCount(true)
+ .IncludeCreateTime(true)
+ .Where("ID", ECondition.Eth)
+ .And("ParentNum", ECondition.Eth);
+ List list = this.SysDepart.GetList(entity);
+ return list.IsNullOrEmpty() ? null : list[0];
+ }
+
+ ///
+ /// 根据主键编号获得父类部门信息
+ ///
+ ///
+ ///
+ public SysDepartEntity GetParent(int id)
+ {
+ List listSource = GetList();
+ if (listSource.IsNullOrEmpty())
+ {
+ return null;
+ }
+ SysDepartEntity entity = listSource.SingleOrDefault(item => item.ID == id);
+ if (entity.IsNull())
+ {
+ return null;
+ }
+ return listSource.SingleOrDefault(item => item.DepartNum == entity.ParentNum);
+ }
+
+ ///
+ /// 根据父类编号获得部门信息
+ ///
+ ///
+ ///
+ public List GetList(string ParentNum)
+ {
+ List listSource = GetList();
+ if (listSource.IsNullOrEmpty())
+ {
+ return null;
+ }
+ return listSource.Where(item => item.ParentNum == ParentNum).ToList();
+ }
+
+
+ ///
+ /// 删除部门
+ ///
+ ///
+ ///
+ public int DeleteDepart(int id)
+ {
+ int line = 0;
+ SysDepartEntity entity = GetDepartEntity(id);
+ if (entity.IsNotNull())
+ {
+ entity.IncludeIsDelete(true);
+ entity.IsDelete = (int)EIsDelete.Deleted;
+ entity.Where(a => a.ID == id);
+ line = this.SysDepart.Update(entity);
+ if (line > 0)
+ {
+ CacheHelper.Remove(CacheKey.JOOSHOW_SYSDEPART_CACHE);
+ }
+ }
+ return line;
+ }
+
+ ///
+ /// 批量删除部门
+ ///
+ ///
+ ///
+ public int DeleteDepart(int[] items)
+ {
+ SysDepartEntity entity = new SysDepartEntity();
+ int line = this.SysDepart.Delete(items);
+ if (line > 0)
+ {
+ CacheHelper.Remove(CacheKey.JOOSHOW_SYSDEPART_CACHE);
+ }
+ return line;
+ }
+ }
+}
diff --git a/Git.Storage.Provider/Base/MeasureProvider.cs b/Git.Storage.Provider/Base/MeasureProvider.cs
new file mode 100644
index 0000000..3be8fe6
--- /dev/null
+++ b/Git.Storage.Provider/Base/MeasureProvider.cs
@@ -0,0 +1,156 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-06-24 21:20:16
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-06-24 21:20:16 情缘
+*********************************************************************************/
+
+using Git.Framework.Cache;
+using Git.Framework.DataTypes;
+using Git.Framework.DataTypes.ExtensionMethods;
+using Git.Framework.ORM;
+using Git.Framework.Log;
+using Git.Storage.Entity.Base;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Git.Storage.Provider.Base
+{
+ public partial class MeasureProvider : DataFactory
+ {
+ public MeasureProvider() { }
+
+ ///
+ /// 添加计量单位
+ ///
+ ///
+ ///
+ public int AddMeasure(MeasureEntity entity)
+ {
+ entity.IncludeAll();
+ int line = this.Measure.Add(entity);
+ if (line > 0)
+ {
+ CacheHelper.Remove(CacheKey.JOOSHOW_MEASURE_CACHE);
+ }
+ return line;
+ }
+
+ ///
+ /// 获得所有的计量单位
+ ///
+ ///
+ public List GetList()
+ {
+ List listResult = CacheHelper.Get(CacheKey.JOOSHOW_MEASURE_CACHE) as List;
+ if (!listResult.IsNullOrEmpty())
+ {
+ return listResult;
+ }
+ MeasureEntity entity = new MeasureEntity();
+ entity.IncludeAll();
+ listResult = this.Measure.GetList(entity);
+ if (!listResult.IsNullOrEmpty())
+ {
+ CacheHelper.Insert(CacheKey.JOOSHOW_MEASURE_CACHE,listResult);
+ }
+ return listResult;
+ }
+
+ ///
+ /// 根据计量单位删除
+ ///
+ ///
+ ///
+ public int DeleteMeasure(string measureNum)
+ {
+ MeasureEntity entity = new MeasureEntity();
+ entity.Where(a => a.MeasureNum == measureNum);
+ int line = this.Measure.Delete(entity);
+ if (line > 0)
+ {
+ CacheHelper.Remove(CacheKey.JOOSHOW_MEASURE_CACHE);
+ }
+ return line;
+ }
+
+ ///
+ /// 编辑计量单位
+ ///
+ ///
+ ///
+ ///
+ public int EditMeasure(string measureNum, string measureName)
+ {
+ MeasureEntity entity = new MeasureEntity();
+ entity.MeasureName = measureName;
+ entity.IncludeMeasureName(true);
+ entity.Where(a => a.MeasureNum == measureNum);
+ int line = this.Measure.Update(entity);
+ if (line > 0)
+ {
+ CacheHelper.Remove(CacheKey.JOOSHOW_MEASURE_CACHE);
+ }
+ return line;
+ }
+
+ ///
+ /// 根据计量单位编号获得计量单位
+ ///
+ ///
+ ///
+ public MeasureEntity GetMeasure(string measureNum)
+ {
+ List listResult = GetList();
+ if (!listResult.IsNullOrEmpty())
+ {
+ return listResult.FirstOrDefault(a => a.MeasureNum == measureNum);
+ }
+ return null;
+ }
+
+ ///
+ /// 根据名称查询单位信息
+ ///
+ ///
+ ///
+ public MeasureEntity GetMeasureByName(string measureName)
+ {
+ List listResult = GetList();
+ if (!listResult.IsNullOrEmpty())
+ {
+ return listResult.FirstOrDefault(a => a.MeasureName == measureName);
+ }
+ return null;
+ }
+
+ ///
+ /// 查询分页计量单位
+ ///
+ ///
+ ///
+ ///
+ public List GetList(MeasureEntity entity, ref PageInfo pageInfo)
+ {
+ List listResult = GetList();
+ if (!listResult.IsNullOrEmpty())
+ {
+ int rowCount = 0;
+ rowCount = listResult.Where(a=>a.MeasureName.Contains(entity.MeasureName)).Count();
+ pageInfo.RowCount = rowCount;
+ return listResult.Where(a => a.MeasureName.Contains(entity.MeasureName)).Skip((pageInfo.PageIndex - 1) * pageInfo.PageSize).Take(pageInfo.PageSize).ToList();
+ }
+ return null;
+ }
+
+
+ }
+}
diff --git a/Git.Storage.Provider/Base/PowerProvider.cs b/Git.Storage.Provider/Base/PowerProvider.cs
new file mode 100644
index 0000000..a929659
--- /dev/null
+++ b/Git.Storage.Provider/Base/PowerProvider.cs
@@ -0,0 +1,244 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2014-02-19 10:46:19
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2014-02-19 10:46:19 情缘
+*********************************************************************************/
+
+using Git.Framework.Cache;
+using Git.Framework.DataTypes;
+using Git.Framework.DataTypes.ExtensionMethods;
+using Git.Framework.ORM;
+using Git.Framework.Resource;
+using Git.Storage.Common;
+using Git.Storage.Entity.Base;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Transactions;
+
+namespace Git.Storage.Provider.Base
+{
+ public partial class PowerProvider : DataFactory
+ {
+ public PowerProvider() { }
+
+ ///
+ /// 获得所有的已经分配的权限关系列表
+ ///
+ ///
+ private List GetList()
+ {
+ List list = CacheHelper.Get(CacheKey.JOOSHOW_ALLOTPOWER_CACHE) as List;
+ if (!list.IsNullOrEmpty())
+ {
+ return list;
+ }
+ SysRelationEntity entity = new SysRelationEntity();
+ entity.IncludeAll();
+ list = this.SysRelation.GetList(entity);
+ if (!list.IsNullOrEmpty())
+ {
+ CacheHelper.Insert(CacheKey.JOOSHOW_ALLOTPOWER_CACHE, list, null, DateTime.Now.AddDays(1));
+ }
+ return list;
+ }
+
+ ///
+ /// 给某个角色分配权限
+ ///
+ ///
+ ///
+ ///
+ public int AllotPower(string roleNum, List resItems)
+ {
+ using (TransactionScope ts = new TransactionScope())
+ {
+ int line = 0;
+ if (!resItems.IsNullOrEmpty())
+ {
+ SysRelationEntity entity = new SysRelationEntity();
+ entity.Where(a => a.RoleNum == roleNum);
+ line = this.SysRelation.Delete(entity);
+
+ SysResourceProvider provider = new SysResourceProvider();
+
+ List list = new List();
+ foreach (string resNum in resItems)
+ {
+ SysResourceEntity resource = provider.GetResource(resNum);
+ short ResType = resource != null ? resource.ResType : (short)EResourceType.Page;
+ entity = new SysRelationEntity() { RoleNum = roleNum, ResNum = resNum, ResType = ResType };
+ entity.IncludeAll();
+ list.Add(entity);
+ }
+ line += this.SysRelation.Add(list);
+ }
+ ts.Complete();
+ if (line > 0)
+ {
+ CacheHelper.Remove(string.Format(CacheKey.JOOSHOW_ROLEPOWER_CACHE, roleNum));
+ CacheHelper.Remove(CacheKey.JOOSHOW_ALLOTPOWER_CACHE);
+ }
+ return line;
+ }
+ }
+
+ ///
+ /// 获得某个角色所分配的权限
+ ///
+ ///
+ ///
+ private List GetList(string roleNum)
+ {
+ List list = GetList();
+ if (!list.IsNullOrEmpty())
+ {
+ List listResult= list.Where(a => a.RoleNum == roleNum).ToList();
+ return listResult;
+ }
+ return null;
+ }
+
+ ///
+ /// 判断是否有权限操作
+ ///
+ ///
+ ///
+ ///
+ public bool HasPower(string ResNum, string RoleNum)
+ {
+ List ListResult = GetRoleResource(RoleNum);
+ ListResult = ListResult.IsNull() ? new List() : ListResult;
+ bool hasPower = ListResult.Exists(a => a.ResNum.ToLower() == ResNum.ToLower() || a.Url.ToLower() == ResNum.ToLower());
+ //超级管理员权限
+ if (RoleNum == ResourceManager.GetSettingEntity("Super_AdminRole").Value)
+ {
+ hasPower = true;
+ }
+ return hasPower;
+ }
+
+ ///
+ /// 获得某个角色的权限
+ ///
+ ///
+ ///
+ public List GetRoleResource(string RoleNum)
+ {
+ List ListResult = CacheHelper.Get(string.Format(CacheKey.JOOSHOW_ROLEPOWER_CACHE, RoleNum)) as List;
+ if (ListResult.IsNullOrEmpty())
+ {
+ SysResourceProvider provider = new SysResourceProvider();
+ List ListSource = provider.GetList();
+ ListSource = ListSource.IsNull() ? new List() : ListSource;
+
+ ListSource = JsonConvert.DeserializeObject>(JsonConvert.SerializeObject(ListSource));
+
+ List ListRole = GetList(RoleNum);
+ ListRole = ListRole.IsNull() ? new List() : ListRole;
+
+ ListResult = ListSource.Where(a => ListRole.Exists(b => b.ResNum == a.ResNum)).ToList();
+
+ //超级管理员权限
+ if (RoleNum == ResourceManager.GetSettingEntity("Super_AdminRole").Value)
+ {
+ ListResult = ListSource;
+ }
+
+ if (!ListResult.IsNullOrEmpty())
+ {
+ CacheHelper.Insert(string.Format(CacheKey.JOOSHOW_ROLEPOWER_CACHE, RoleNum), ListResult, null, DateTime.Now.AddDays(1));
+ }
+ }
+ return ListResult;
+ }
+
+ ///
+ /// 获得权限分配
+ ///
+ ///
+ ///
+ public Params, List, List> GetRole(string roleNum)
+ {
+ Params, List, List> param = new Params, List, List>();
+ SysResourceProvider provider = new SysResourceProvider();
+ param.Item1 = provider.GetList();
+ param.Item2 = GetRoleResource(roleNum);
+
+ param.Item1 = param.Item1.IsNull() ? new List() : param.Item1;
+ param.Item2 = param.Item2.IsNull() ? new List() : param.Item2;
+ param.Item3 = param.Item1.Where(a => !param.Item2.Exists(b => b.ResNum == a.ResNum)).ToList();
+ param.Item3 = param.Item3.IsNull() ? new List() : param.Item3;
+ List listTemp = new List();
+ foreach (SysResourceEntity item in param.Item2)
+ {
+ if (!item.ParentNum.IsEmpty() && !param.Item2.Exists(a => a.ResNum == item.ParentNum))
+ {
+ SysResourceEntity entity = param.Item1.First(a => a.ResNum == item.ParentNum);
+ if (!listTemp.Exists(a => a.ResNum == entity.ResNum))
+ {
+ listTemp.Add(entity);
+ }
+
+ if (!entity.ParentNum.IsEmpty() && !param.Item2.Exists(a => a.ResNum == entity.ParentNum))
+ {
+ entity = param.Item1.First(a => a.ResNum == entity.ParentNum);
+ if (!listTemp.Exists(a => a.ResNum == entity.ResNum))
+ {
+ listTemp.Add(entity);
+ }
+ }
+ }
+ }
+ param.Item2.AddRange(listTemp);
+
+ listTemp = new List();
+ if (!param.Item3.IsNullOrEmpty())
+ {
+ foreach (SysResourceEntity item in param.Item3)
+ {
+ if (!item.ParentNum.IsEmpty() && !param.Item3.Exists(a => a.ResNum == item.ParentNum))
+ {
+ SysResourceEntity entity = param.Item1.First(a => a.ResNum == item.ParentNum);
+ if (!listTemp.Exists(a => a.ResNum == entity.ResNum))
+ {
+ listTemp.Add(entity);
+ }
+
+ if (!entity.ParentNum.IsEmpty() && !param.Item3.Exists(a => a.ResNum == entity.ParentNum))
+ {
+ entity = param.Item1.First(a => a.ResNum == entity.ParentNum);
+ if (!listTemp.Exists(a => a.ResNum == entity.ResNum))
+ {
+ listTemp.Add(entity);
+ }
+ }
+ }
+ }
+ }
+ param.Item3.AddRange(listTemp);
+
+ return param;
+ }
+
+ ///
+ /// 获得已经分配的权限
+ ///
+ ///
+ ///
+ public List GetAllotedPower(string roleNum)
+ {
+ Params, List, List> param = GetRole(roleNum);
+ return param.Item2;
+ }
+ }
+}
diff --git a/Git.Storage.Provider/Base/SequenceProvider.cs b/Git.Storage.Provider/Base/SequenceProvider.cs
new file mode 100644
index 0000000..746b6ef
--- /dev/null
+++ b/Git.Storage.Provider/Base/SequenceProvider.cs
@@ -0,0 +1,208 @@
+/*******************************************************************************
+ * Copyright (C) Git Corporation. All rights reserved.
+ *
+ * Author: 情缘
+ * Create Date: 2015/10/8 13:02:25
+ *
+ * Description: Git.Framework
+ * http://www.cnblogs.com/qingyuan/
+ * Revision History:
+ * Date Author Description
+ * 2015/10/8 13:02:25 情缘
+*********************************************************************************/
+
+using Git.Storage.Entity.Base;
+using Git.Framework.ORM;
+using Git.Framework.DataTypes;
+using Git.Framework.DataTypes.ExtensionMethods;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using Git.Storage.Common;
+
+namespace Git.Storage.Provider.Base
+{
+ public partial class SequenceProvider:DataFactory
+ {
+ public SequenceProvider() { }
+
+ ///
+ /// 新增序号管理
+ ///
+ ///
+ ///
+ public int Init()
+ {
+ DataTable table = this.Sequence.GetTables();
+ if (table != null && table.Rows.Count > 0)
+ {
+ foreach (DataRow row in table.Rows)
+ {
+ string TabName = row["name"] != null ? row["name"].ToString() : string.Empty;
+ if (!TabName.IsEmpty())
+ {
+ SequenceEntity entity = new SequenceEntity();
+ entity.Where(a => a.TabName == TabName);
+ if (this.Sequence.GetCount(entity) == 0)
+ {
+ entity = new SequenceEntity();
+ entity.SN = TNumProivder.CreateGUID();
+ entity.TabName = TabName;
+ entity.FirstType = (int)ESequence.Sequence;
+ entity.FirstRule = "";
+ entity.FirstLength = 6;
+ entity.JoinChar = "";
+ entity.IncludeAll();
+ this.Sequence.Add(entity);
+ }
+ }
+ }
+ }
+ return 0;
+ }
+
+ ///
+ /// 修改序号
+ ///
+ ///
+ ///
+ public int Update(SequenceEntity entity)
+ {
+ entity.Include(a => new { a.FirstType,a.FirstRule,a.FirstLength,a.SecondType,a.SecondRule,a.SecondLength,a.ThirdType,a.ThirdRule,a.ThirdLength,a.FourType,a.FourRule,a.FourLength,a.JoinChar,a.Sample,a.CurrentValue,a.Remark });
+ entity.Where(a => a.SN == entity.SN);
+ int line = this.Sequence.Update(entity);
+ return line;
+ }
+
+ ///
+ /// 查询序列分页
+ ///
+ ///
+ ///
+ ///
+ public List GetList(SequenceEntity entity, ref PageInfo pageInfo)
+ {
+ entity.IncludeAll();
+ entity.OrderBy(a => a.ID, EOrderBy.ASC);
+ int rowCount = 0;
+ List listResult = this.Sequence.GetList(entity,pageInfo.PageSize,pageInfo.PageIndex,out rowCount);
+ pageInfo.RowCount = rowCount;
+ return listResult;
+ }
+
+ /// |