/***********************************************************************
|
* Project: baifenBinfa
|
* ProjectName: 百分兵法管理系统
|
* Web: http://chuanyin.com
|
* Author:
|
* Email:
|
* CreateTime: 2023/4/22 23:40:15
|
* Description: 暂无
|
***********************************************************************/
|
|
using SqlSugar;
|
using System.ComponentModel;
|
using System.ComponentModel.DataAnnotations;
|
|
namespace CoreCms.Net.Model.Entities
|
{
|
/// <summary>
|
/// 微信支付配置
|
/// </summary>
|
public partial class CoreCmsWeChatPayConfig
|
{
|
/// <summary>
|
/// 构造函数
|
/// </summary>
|
public CoreCmsWeChatPayConfig()
|
{
|
}
|
|
/// <summary>
|
/// 序列
|
/// </summary>
|
[Display(Name = "序列")]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Int32 id { get; set; }
|
|
|
/// <summary>
|
/// 应用号
|
/// </summary>
|
[Display(Name = "应用号")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String appId { get; set; }
|
|
|
/// <summary>
|
/// 商户号
|
/// </summary>
|
[Display(Name = "商户号")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String mchId { get; set; }
|
|
|
/// <summary>
|
/// API秘钥
|
/// </summary>
|
[Display(Name = "API秘钥")]
|
|
|
|
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String apiKey { get; set; }
|
|
|
/// <summary>
|
/// APIv3密钥
|
/// </summary>
|
[Display(Name = "APIv3密钥")]
|
|
|
|
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String apiV3Key { get; set; }
|
|
|
/// <summary>
|
/// p12证书base64
|
/// </summary>
|
[Display(Name = "p12证书base64")]
|
|
|
|
[StringLength(maximumLength:8000,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String certificate { get; set; }
|
|
|
/// <summary>
|
/// RSA公钥
|
/// </summary>
|
[Display(Name = "RSA公钥")]
|
|
|
|
[StringLength(maximumLength:1000,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String rsaPublicKey { get; set; }
|
|
|
/// <summary>
|
/// 子商户应用号
|
/// </summary>
|
[Display(Name = "子商户应用号")]
|
|
|
|
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String subAppId { get; set; }
|
|
|
/// <summary>
|
/// 子商户号
|
/// </summary>
|
[Display(Name = "子商户号")]
|
|
|
|
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String subMchId { get; set; }
|
|
|
/// <summary>
|
/// 支付回调通知
|
/// </summary>
|
[Display(Name = "支付回调通知")]
|
|
|
|
[StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String notifyUrl { get; set; }
|
|
|
/// <summary>
|
/// 退款回调
|
/// </summary>
|
[Display(Name = "退款回调")]
|
|
|
|
[StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String refundUrl { get; set; }
|
|
|
/// <summary>
|
/// 跳转地址
|
/// </summary>
|
[Display(Name = "跳转地址")]
|
|
|
|
[StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String jumpUrl { get; set; }
|
|
|
/// <summary>
|
/// 是否开启
|
/// </summary>
|
[Display(Name = "是否开启")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Boolean isEnable { get; set; }
|
|
|
/// <summary>
|
/// 是否本类默认
|
/// </summary>
|
[Display(Name = "是否本类默认")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Boolean isDefault { get; set; }
|
|
|
/// <summary>
|
/// 应用类型
|
/// </summary>
|
[Display(Name = "应用类型")]
|
|
|
|
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String appType { get; set; }
|
|
|
}
|
}
|