From 376f3de70bfdd7905876123ba5a331c0aa176199 Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期四, 25 九月 2025 09:10:29 +0800
Subject: [PATCH] 修改注册时可以多模块注册

---
 Admin.NET/FZCZTB.NET.MD/CutomerMd/Extend/FBS_CusExtend.cs |   64 ++++++++++++++++----------------
 1 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/Admin.NET/FZCZTB.NET.MD/CutomerMd/Extend/FBS_CusExtend.cs b/Admin.NET/FZCZTB.NET.MD/CutomerMd/Extend/FBS_CusExtend.cs
index faa2373..af9e0db 100644
--- a/Admin.NET/FZCZTB.NET.MD/CutomerMd/Extend/FBS_CusExtend.cs
+++ b/Admin.NET/FZCZTB.NET.MD/CutomerMd/Extend/FBS_CusExtend.cs
@@ -43,7 +43,7 @@
     /// 浼佷笟绫诲瀷 浠庝紒涓氱被鍨嬩腑閫夋嫨
     /// </summary>
     [SugarColumn(ColumnDescription = "浼佷笟绫诲瀷 ", Length = 255)]
-    [Required(ErrorMessage = "浼佷笟绫诲瀷")]
+    //[Required(ErrorMessage = "浼佷笟绫诲瀷")]
     public string EnterpriseType { get; set; }
 
    
@@ -52,29 +52,29 @@
     /// <summary>
     /// 钀ヤ笟鎵х収鏂囦欢璺緞
     /// </summary>
-    [Required(ErrorMessage = "钀ヤ笟鎵х収鏂囦欢蹇呬紶")]
+    //[Required(ErrorMessage = "钀ヤ笟鎵х収鏂囦欢蹇呬紶")]
     [SugarColumn(ColumnDescription = "钀ヤ笟鎵х収鏂囦欢璺緞")]
     public string BusinessLicense { get; set; }
 
     /// <summary>
     /// 浼佷笟鍚嶇О
     /// </summary>
-    [Required(ErrorMessage = "浼佷笟鍚嶇О涓哄繀濉」")]
+    //[Required(ErrorMessage = "浼佷笟鍚嶇О涓哄繀濉」")]
     [SugarColumn(ColumnDescription = "浼佷笟鍚嶇О")]
     public string EnterpriseName { get; set; }
 
     /// <summary>
     /// 缁熶竴绀句細淇$敤浠g爜
     /// </summary>
-    [Required(ErrorMessage = "缁熶竴绀句細淇$敤浠g爜涓哄繀濉」")]
-    [SugarColumn(ColumnDescription = "缁熶竴绀句細淇$敤浠g爜")]
+    //[Required(ErrorMessage = "缁熶竴绀句細淇$敤浠g爜涓哄繀濉」")]
+    [SugarColumn(ColumnDescription = "缁熶竴绀句細淇$敤浠g爜", IsNullable = true)]
     public string UnifiedSocialCreditCode { get; set; }
 
     /// <summary>
     /// 娉ㄥ唽璧勯噾锛堝崟浣嶏細涓囧厓 锛�
     /// </summary>
-    [Required(ErrorMessage = "娉ㄥ唽璧勯噾涓哄繀濉」")]
-    [SugarColumn(ColumnDescription = "娉ㄥ唽璧勯噾")]
+    //[Required(ErrorMessage = "娉ㄥ唽璧勯噾涓哄繀濉」")]
+    [SugarColumn(ColumnDescription = "娉ㄥ唽璧勯噾", IsNullable = true)]
     public string RegisteredCapital { get; set; }
 
 
@@ -88,73 +88,73 @@
     /// <summary>
     /// 娉曞畾浠h〃浜哄鍚�
     /// </summary>
-    [Required(ErrorMessage = "娉曞畾浠h〃浜哄鍚嶄负蹇呭~椤�")]
-    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜哄鍚�")]
+    //[Required(ErrorMessage = "娉曞畾浠h〃浜哄鍚嶄负蹇呭~椤�")]
+    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜哄鍚�", IsNullable = true)]
     public string LegalRepresentativeName { get; set; }
 
     /// <summary>
     /// 娉曞畾浠h〃浜鸿韩浠借瘉鏂囦欢璺緞
     /// </summary>
-    [Required(ErrorMessage = "娉曞畾浠h〃浜鸿韩浠借瘉鏂囦欢璺緞姣曚紶")]
-    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜鸿韩浠借瘉鏂囦欢璺緞")]
+    //[Required(ErrorMessage = "娉曞畾浠h〃浜鸿韩浠借瘉鏂囦欢璺緞姣曚紶")]
+    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜鸿韩浠借瘉鏂囦欢璺緞", IsNullable = true)]
     public string LegalRepresentativeIdCard { get; set; }
 
     /// <summary>
     /// 娉曞畾浠h〃浜鸿韩浠借瘉鍙风爜
     /// </summary>
-    [Required(ErrorMessage = "娉曞畾浠h〃浜鸿韩浠借瘉鍙风爜涓哄繀濉」")]
-    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜鸿韩浠借瘉鍙风爜")]
+    //[Required(ErrorMessage = "娉曞畾浠h〃浜鸿韩浠借瘉鍙风爜涓哄繀濉」")]
+    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜鸿韩浠借瘉鍙风爜", IsNullable = true)]
     public string LegalRepresentativeIdNumber { get; set; }
 
     /// <summary>
     /// 娉曞畾浠h〃浜鸿仈绯荤數璇�
     /// </summary>
-    [Required(ErrorMessage = "娉曞畾浠h〃浜鸿仈绯荤數璇濅负蹇呭~椤�")]
+    //[Required(ErrorMessage = "娉曞畾浠h〃浜鸿仈绯荤數璇濅负蹇呭~椤�")]
     [Phone(ErrorMessage = "娉曞畾浠h〃浜鸿仈绯荤數璇濅笉姝g‘")]
-    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜鸿仈绯荤數璇�")]
+    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜鸿仈绯荤數璇�", IsNullable = true)]
     public string LegalRepresentativePhone { get; set; }
 
     /// <summary>
     /// 浼佷笟浣忔墍锛堜笅鎷夐�夋嫨锛岄渶缁撳悎瀹為檯鍙�夊�硷紝鍏堝瓧绗︿覆鎺ユ敹 锛�
     /// </summary>
-    [Required(ErrorMessage = "浼佷笟浣忔墍涓哄繀濉」")]
-    [SugarColumn(ColumnDescription = "浼佷笟浣忔墍")]
+    //[Required(ErrorMessage = "浼佷笟浣忔墍涓哄繀濉」")]
+    [SugarColumn(ColumnDescription = "浼佷笟浣忔墍", IsNullable = true)]
     public string Residence { get; set; }
 
     /// <summary>
     /// 浼佷笟鑱旂郴鐢佃瘽
     /// </summary>
-    [Required(ErrorMessage = "浼佷笟鑱旂郴鐢佃瘽涓哄繀濉」")]
+    //[Required(ErrorMessage = "浼佷笟鑱旂郴鐢佃瘽涓哄繀濉」")]
     [Phone(ErrorMessage = "鑱旂郴鐢佃瘽鏍煎紡涓嶆纭�")]
-    [SugarColumn(ColumnDescription = "浼佷笟鑱旂郴鐢佃瘽")]
+    [SugarColumn(ColumnDescription = "浼佷笟鑱旂郴鐢佃瘽", IsNullable = true)]
     public string EnterprisePhone { get; set; }
 
     /// <summary>
     /// 浼佷笟鎴愮珛鏃堕棿
     /// </summary>
-    [Required(ErrorMessage = "鎴愮珛鏃堕棿涓哄繀濉」")]
-    [SugarColumn(ColumnDescription = "浼佷笟鎴愮珛鏃堕棿")]
+    //[Required(ErrorMessage = "鎴愮珛鏃堕棿涓哄繀濉」")]
+    [SugarColumn(ColumnDescription = "浼佷笟鎴愮珛鏃堕棿", IsNullable = true)]
     public DateTime EstablishmentTime { get; set; }
 
     /// <summary>
     /// 浼佷笟涓昏惀涓氬姟
     /// </summary>
-    [Required(ErrorMessage = "涓昏惀涓氬姟涓哄繀濉」")]
+    //[Required(ErrorMessage = "涓昏惀涓氬姟涓哄繀濉」")]
     [SugarColumn(ColumnDescription = "浼佷笟涓昏惀涓氬姟",Length =Int32.MaxValue,IsNullable = true)]
     public string MainBusiness { get; set; }
 
     /// <summary>
     /// 浼佷笟閭
     /// </summary>
-    [Required(ErrorMessage = "浼佷笟閭涓哄繀濉」")]
+    //[Required(ErrorMessage = "浼佷笟閭涓哄繀濉」")]
     [EmailAddress(ErrorMessage = "閭鏍煎紡涓嶆纭�")]
-    [SugarColumn(ColumnDescription = "浼佷笟閭")]
+    [SugarColumn(ColumnDescription = "浼佷笟閭", IsNullable = true)]
     public string EnterpriseEmail { get; set; }
 
     /// <summary>
     /// 涓氬姟缁忓姙浜哄鍚�
     /// </summary>
-
+  
     [SugarColumn(ColumnDescription = "涓氬姟缁忓姙浜哄鍚�", IsNullable = true)]
     public string OperatorName { get; set; }
 
@@ -173,25 +173,25 @@
     public string OperatorIdNumber { get; set; }
 
     /// <summary>
-    /// 涓氬姟缁忓姙浜鸿仈绯荤數璇�
+    /// 浼佷笟缁忓姙浜鸿仈绯荤數璇�
     /// </summary>
-  
+    [Required(ErrorMessage = "浼佷笟缁忓姙浜鸿仈绯荤數璇� 蹇呭~")]
     [Phone(ErrorMessage = "鑱旂郴鐢佃瘽鏍煎紡涓嶆纭�")]
-    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜哄鍚�",IsNullable =true)]
+    [SugarColumn(ColumnDescription = "涓氬姟缁忓姙浜�", IsNullable =true)]
     public string OperatorPhone { get; set; }
 
     /// <summary>
     /// 浼佷笟寮�鎴疯
     /// </summary>
-    [Required(ErrorMessage = "寮�鎴疯涓哄繀濉」")]
-    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜哄鍚�")]
+    //[Required(ErrorMessage = "寮�鎴疯涓哄繀濉」")]
+    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜哄鍚�", IsNullable = true)]
     public string BankName { get; set; }
 
     /// <summary>
     /// 浼佷笟閾惰璐﹀彿
     /// </summary>
-    [Required(ErrorMessage = "閾惰璐﹀彿涓哄繀濉」")]
-    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜哄鍚�")]
+    //[Required(ErrorMessage = "閾惰璐﹀彿涓哄繀濉」")]
+    [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜哄鍚�", IsNullable = true)]
     public string BankAccount { get; set; }
 
     /// <summary>

--
Gitblit v1.9.1