/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email:
* CreateTime: 2023/4/20 23:33:03
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 支付宝支付配置
///
public partial class CoreCmsAlipayConfig
{
///
/// 构造函数
///
public CoreCmsAlipayConfig()
{
}
///
/// 序列
///
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 支付宝开放平台AppId
///
[Display(Name = "支付宝开放平台AppId")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String appId { get; set; }
///
/// 支付宝公钥
///
[Display(Name = "支付宝公钥")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String publicKey { get; set; }
///
/// 应用私钥
///
[Display(Name = "应用私钥")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:2000,ErrorMessage = "{0}不能超过{1}字")]
public System.String privateKey { get; set; }
///
/// 服务网关地址
///
[Display(Name = "服务网关地址")]
[StringLength(maximumLength:100,ErrorMessage = "{0}不能超过{1}字")]
public System.String serverUrl { get; set; }
///
/// 签名类型
///
[Display(Name = "签名类型")]
[StringLength(maximumLength:10,ErrorMessage = "{0}不能超过{1}字")]
public System.String signType { get; set; }
///
/// 应用公钥证书
///
[Display(Name = "应用公钥证书")]
[StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
public System.String appPublicCert { get; set; }
///
/// 支付宝公钥证书
///
[Display(Name = "支付宝公钥证书")]
[StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
public System.String alipayPublicCert { get; set; }
///
/// 支付宝根证书
///
[Display(Name = "支付宝根证书")]
[StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
public System.String alipayRootCert { get; set; }
///
/// 应用类型
///
[Display(Name = "应用类型")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:10,ErrorMessage = "{0}不能超过{1}字")]
public System.String appType { get; set; }
///
/// 支付宝支付回调通知
///
[Display(Name = "支付宝支付回调通知")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String notifyUrl { get; set; }
///
/// 支付宝退款回调
///
[Display(Name = "支付宝退款回调")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String refundUrl { get; set; }
///
/// 支付跳转地址
///
[Display(Name = "支付跳转地址")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String jumpUrl { get; set; }
///
/// 是否启用
///
[Display(Name = "是否启用")]
public System.Boolean isEnable { get; set; }
///
/// 当前多端默认
///
[Display(Name = "当前多端默认")]
public System.Boolean isDefault { get; set; }
}
}