From a5b2428bc6ebac0210e4c552f61e7c5e1f1c9134 Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期四, 24 十一月 2022 15:25:48 +0800
Subject: [PATCH] 优化多项

---
 web/Model/Model/GwSp.cs |   33 ++++++++++++++++++++++++++++++++-
 1 files changed, 32 insertions(+), 1 deletions(-)

diff --git a/web/Model/Model/GwSp.cs b/web/Model/Model/GwSp.cs
index 8df86b1..47503bd 100644
--- a/web/Model/Model/GwSp.cs
+++ b/web/Model/Model/GwSp.cs
@@ -39,11 +39,25 @@
 
         private int _TransferFlag;//鎼哄彿杞綉璁剧疆銆�0鍚敤锛�1鍋滅敤
 
+        public string Company { get; set; }  //鍏徃鍚嶇О
         public string ProductId { get; set; }  //浜у搧ID
+        public string ProductName { get; set; }  //浜у搧鍚嶇О
         public int BasicNum { get; set; }  //鍩烘湰鏉℃暟
         public int GivingNum { get; set; }  //璧犻�佹潯鏁�
         public int DelFlag { get; set; }  //鍒犻櫎鏍囧織锛�0-姝e父锛�2-閫昏緫鍒犻櫎
         public int IsAutoReturn { get; set; }  //鏄惁鑷姩杩旇繕: 0-鍚�; 1-鏄�.
+        public int SubPackageNum { get; set; }  //鍒嗗寘鏉℃暟: 琛ㄧず鍚庡彴鏁版嵁鍒嗗寘鏁伴噺锛屼笉鑳戒负0锛屽惁鍒欐病鍔炴硶鍒嗗寘锛岄粯璁�4000涓彿鐮佷竴涓暟鎹寘,寤鸿鍦�2000鑷�5000
+        public int SingleSubmitMinRestrict { get; set; }  //鐭俊鍗曟鎻愪氦鏈�灏忛檺鍒�:榛樿0琛ㄧず涓嶉檺鍒讹紝鍚敤闄愬埗鍚庡皬浜庤鎻愪氦鏉℃暟鐨勫皢琚嫆缁濄��
+        public int IsDispalyPrice { get; set; }  //鏄惁鏄剧ず鍗曚环
+        public int DeductionMode { get; set; }  //鎵h垂鏂瑰紡
+        public int IsSendAudit { get; set; }  //鍙戦�佹槸鍚﹀鏍�
+        public int BelowNumAudit { get; set; }  //浣庝簬鏉℃暟瀹℃牳
+        public int AboveNumAudit { get; set; }  //楂樹簬鏉℃暟瀹℃牳
+        public int IsCumulativeAudit { get; set; }  //鏄惁绱瀹℃牳
+        public int CumulativeAuditNum { get; set; }  //绱鏉℃暟瀹℃牳
+        public int CumulativeAuditTime { get; set; }  //绱鏃堕棿锛堝皬鏃讹級
+        public int IsSyncChildSendAudit { get; set; }  //鏄惁鍚屾瀛愯处鍙�(鍙戦�佸鏍�)
+
 
         public int Id
         {
@@ -119,6 +133,11 @@
             }
             set
             {
+                if (value.Length >= 20)
+                {
+                    throw new ArgumentOutOfRangeException("瀵嗙爜瓒呰繃闀垮害闄愬埗锛�");
+                }
+
                 this._password = value;
             }
         }
@@ -413,7 +432,19 @@
 
         public int ForceSignFlag { get; set; }
 
-        public string ForceSign { get; set; }
+
+        private string _forceSign;
+        public string ForceSign
+        {
+            get { return _forceSign; }
+            set {
+                if (value.Length >= 20)
+                {
+                    throw new ArgumentOutOfRangeException("闀垮害瓒呭嚭闄愬埗锛�");
+                }
+                _forceSign = value;
+            }
+        }
 
         public int CombinationMode { get; set; }
 

--
Gitblit v1.9.1