From 5753233d5cda77746a4190b4cf21aa802198555c Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期三, 05 十一月 2025 09:06:04 +0800
Subject: [PATCH] 五
---
Admin.NET/FZCZTB.NET.MD/CutomerMd/Extend/FBS_CusExtend.cs | 132 ++++++++++++++++++++++++++-----------------
1 files changed, 80 insertions(+), 52 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 7d6269b..926e5a8 100644
--- a/Admin.NET/FZCZTB.NET.MD/CutomerMd/Extend/FBS_CusExtend.cs
+++ b/Admin.NET/FZCZTB.NET.MD/CutomerMd/Extend/FBS_CusExtend.cs
@@ -8,6 +8,7 @@
using SqlSugar;
using System;
using System.Collections.Generic;
+using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
@@ -19,57 +20,61 @@
/// </summary>
[SugarTable("FBS_CusExtend", "浼佷笟璧勬枡")]
[IncreTable]
-public class FBS_CusExtend: EntityBaseTenant
+public class FBS_CusExtend: EntityBase
{
+
/// <summary>
- /// 鐢ㄦ埛ID
+ /// 娉ㄦ剰璇ュ瓧娈靛凡缁忓彇娑堬紝杩欓噷鍙槸鐢ㄦ潵灞忚斀婧愪唬鐮佷腑鐨勬姤閿欙紝淇敼瀹屽悗锛屽簲璇ュ垹闄よ瀛楁
/// </summary>
- [SugarColumn(ColumnDescription = "鐢ㄦ埛ID" )]
- [Required(ErrorMessage = "鐢ㄦ埛ID 蹇呭~")]
+ [SugarColumn(IsIgnore =true)]
public long CustomerId { get; set; }
+ /// <summary>
+ /// 娉ㄦ剰璇ュ瓧娈靛凡缁忓彇娑堬紝杩欓噷鍙槸鐢ㄦ潵灞忚斀婧愪唬鐮佷腑鐨勬姤閿欙紝淇敼瀹屽悗锛屽簲璇ュ垹闄よ瀛楁
+ /// </summary>
+ [SugarColumn(IsIgnore = true)]
+ public string TransactionCode { get; set; }
+ /// <summary>
+ /// 娉ㄦ剰璇ュ瓧娈靛凡缁忓彇娑堬紝杩欓噷鍙槸鐢ㄦ潵灞忚斀婧愪唬鐮佷腑鐨勬姤閿欙紝淇敼瀹屽悗锛屽簲璇ュ垹闄よ瀛楁
+ /// </summary>
+ [SugarColumn(IsIgnore = true)]
-
-
+ public CusExtendStep steps { get; set; }
/// <summary>
/// 浼佷笟绫诲瀷 浠庝紒涓氱被鍨嬩腑閫夋嫨
/// </summary>
[SugarColumn(ColumnDescription = "浼佷笟绫诲瀷 ", Length = 255)]
- [Required(ErrorMessage = "浼佷笟绫诲瀷")]
+ //[Required(ErrorMessage = "浼佷笟绫诲瀷")]
public string EnterpriseType { get; set; }
- /// <summary>
- /// 浜ゆ槗涓讳綋 浠g爜 鍚岃鑹蹭唬鐮�
- /// </summary>
- [Required(ErrorMessage = "浜ゆ槗涓讳綋浠g爜涓哄繀濉」")]
- [SugarColumn(ColumnDescription = "浜ゆ槗涓讳綋code")]
- public string TransactionCode { get; set; }
+
+
/// <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; }
@@ -83,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〃浜鸿仈绯荤數璇濅负蹇呭~椤�")]
- [Phone(ErrorMessage = "鑱旂郴鐢佃瘽鏍煎紡涓嶆纭�")]
- [SugarColumn(ColumnDescription = "娉曞畾浠h〃浜哄鍚�")]
+ //[Required(ErrorMessage = "娉曞畾浠h〃浜鸿仈绯荤數璇濅负蹇呭~椤�")]
+ [Phone(ErrorMessage = "娉曞畾浠h〃浜鸿仈绯荤數璇濅笉姝g‘")]
+ [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; }
@@ -168,32 +173,51 @@
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>
- /// 瀹℃牳姝ラ
- /// </summary>
- [SugarColumn(ColumnDescription = "瀹℃牳姝ラ")]
- public CusExtendStep steps { set; get; } = CusExtendStep.UNExamine;
+ /// <summary>
+ /// /宀椾綅鑱岃矗
+ /// </summary>
+ [SugarColumn(ColumnDescription = "宀椾綅鑱岃矗", IsNullable = true)]
+ public string JobTitle { get; set; }
+
+
+ /// <summary>
+ /// 閾惰鏀舵鐮�
+ /// </summary>
+
+ [SugarColumn(ColumnDescription = "閾惰鏀舵鐮�")]
+ public string BankAccountIMG { get; set; }
+ /// <summary>
+ /// 鐢ㄦ埛绠$悊鍛樺垪琛�
+ /// </summary>
+ [Navigate(NavigateType.OneToMany,nameof(FBS_CustormerUsers.CusExtendId),nameof(Id))]
+ public List< FBS_CustormerUsers> CustormerUsers { get; set; }
+ /// <summary>
+ /// 鐢ㄦ埛瑙掕壊
+ /// </summary>
+ [Navigate(NavigateType.OneToMany, nameof(FBS_CoutomerExRole.CusExtendId), nameof(Id))]
+ public List<FBS_CoutomerExRole> ExRoles { get; set; }
+
}
/// <summary>
@@ -204,19 +228,23 @@
/// <summary>
/// 鏈鏍�
/// </summary>
- UNExamine=0,
+ [Description("鏈鏍�")]
+ UNExamine =0,
/// <summary>
/// 鏇存敼
/// </summary>
+ [Description("鏇存敼")]
Change,
-
+
/// <summary>
/// 閫氳繃
/// </summary>
+ [Description("閫氳繃")]
Pass,
/// <summary>
/// 鏈�氳繃
/// </summary>
+ [Description("鏈�氳繃")]
UnPass
--
Gitblit v1.9.1