From 445d14becca6b5251814934343d7a6394ada6009 Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期五, 17 十月 2025 16:55:19 +0800
Subject: [PATCH] no message
---
CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs | 106 +++++++++++++++++++++--------------------------------
1 files changed, 42 insertions(+), 64 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs b/CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs
index 1ed27b9..ff0c13e 100644
--- a/CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs
+++ b/CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs
@@ -46,9 +46,9 @@
[Display(Name = "搴旂敤鍙�")]
[Required(ErrorMessage = "璇疯緭鍏0}")]
-
- [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+
+ [SugarColumn(ColumnDescription = "搴旂敤鍙�", Length = 50)]
public System.String appId { get; set; }
@@ -58,9 +58,9 @@
[Display(Name = "鍟嗘埛鍙�")]
[Required(ErrorMessage = "璇疯緭鍏0}")]
-
- [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "鍟嗘埛鍙�", Length = 50)]
+
public System.String mchId { get; set; }
@@ -69,22 +69,18 @@
/// </summary>
[Display(Name = "API绉橀挜")]
-
-
- [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+ [SugarColumn(ColumnDescription = "API绉橀挜V2", Length = 50)]
+
public System.String apiKey { get; set; }
/// <summary>
/// APIv3瀵嗛挜
/// </summary>
- [Display(Name = "APIv3瀵嗛挜")]
-
+ [Display(Name = "APIv3瀵嗛挜")]
-
- [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "APIv3瀵嗛挜", Length = 50,IsNullable =true)]
public System.String apiV3Key { get; set; }
@@ -92,11 +88,9 @@
/// p12璇佷功base64
/// </summary>
[Display(Name = "p12璇佷功base64")]
-
-
-
- [StringLength(maximumLength:8000,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "p12璇佷功base64", Length = 8000)]
+
public System.String certificate { get; set; }
@@ -104,11 +98,10 @@
/// RSA鍏挜
/// </summary>
[Display(Name = "RSA鍏挜")]
-
-
-
- [StringLength(maximumLength:1000,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "RSA鍏挜", Length = 1000)]
+
+
public System.String rsaPublicKey { get; set; }
@@ -119,8 +112,9 @@
- [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "瀛愬晢鎴峰簲鐢ㄥ彿", Length = 50, IsNullable = true)]
+
public System.String subAppId { get; set; }
@@ -128,11 +122,9 @@
/// 瀛愬晢鎴峰彿
/// </summary>
[Display(Name = "瀛愬晢鎴峰彿")]
-
-
-
- [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "瀛愬晢鎴峰彿", Length = 50,IsNullable =true)]
+
public System.String subMchId { get; set; }
@@ -140,23 +132,18 @@
/// 鏀粯鍥炶皟閫氱煡
/// </summary>
[Display(Name = "鏀粯鍥炶皟閫氱煡")]
-
-
-
- [StringLength(maximumLength:200,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "鏀粯鍥炶皟閫氱煡", Length = 200)]
public System.String notifyUrl { get; set; }
/// <summary>
/// 閫�娆惧洖璋�
/// </summary>
- [Display(Name = "閫�娆惧洖璋�")]
-
+ [Display(Name = "閫�娆惧洖璋�")]
-
- [StringLength(maximumLength:200,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "閫�娆惧洖璋�", Length = 200)]
public System.String refundUrl { get; set; }
@@ -164,11 +151,9 @@
/// 璺宠浆鍦板潃
/// </summary>
[Display(Name = "璺宠浆鍦板潃")]
-
-
-
- [StringLength(maximumLength:200,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+
+ [SugarColumn(ColumnDescription = "璺宠浆鍦板潃", Length = 200)]
+
public System.String jumpUrl { get; set; }
@@ -178,33 +163,26 @@
[Display(Name = "鏄惁寮�鍚�")]
[Required(ErrorMessage = "璇疯緭鍏0}")]
-
-
-
- public System.Boolean isEnable { get; set; }
-
-
+
+ [SugarColumn(ColumnDescription = "浣胯兘", Length = 50)]
+ public System.Boolean isEnable { get; set; }=false;
+
+
/// <summary>
/// 鏄惁鏈被榛樿
/// </summary>
[Display(Name = "鏄惁鏈被榛樿")]
[Required(ErrorMessage = "璇疯緭鍏0}")]
-
-
-
- public System.Boolean isDefault { get; set; }
-
-
+ [SugarColumn(ColumnDescription = "榛樿")]
+ public System.Boolean isDefault { get; set; }= false;
+
+
/// <summary>
/// 搴旂敤绫诲瀷
/// </summary>
[Display(Name = "搴旂敤绫诲瀷")]
-
-
-
- [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
-
+ [SugarColumn(ColumnDescription = "搴旂敤绫诲瀷",Length =50)]
public System.String appType { get; set; }
--
Gitblit v1.9.1