/*********************************************************************** * 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 { /// /// 微信支付配置 /// public partial class CoreCmsWeChatPayConfig { /// /// 构造函数 /// public CoreCmsWeChatPayConfig() { } /// /// 序列 /// [Display(Name = "序列")] [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 应用号 /// [Display(Name = "应用号")] [Required(ErrorMessage = "请输入{0}")] [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")] public System.String appId { get; set; } /// /// 商户号 /// [Display(Name = "商户号")] [Required(ErrorMessage = "请输入{0}")] [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")] public System.String mchId { get; set; } /// /// API秘钥 /// [Display(Name = "API秘钥")] [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")] public System.String apiKey { get; set; } /// /// APIv3密钥 /// [Display(Name = "APIv3密钥")] [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")] public System.String apiV3Key { get; set; } /// /// p12证书base64 /// [Display(Name = "p12证书base64")] [StringLength(maximumLength:8000,ErrorMessage = "{0}不能超过{1}字")] public System.String certificate { get; set; } /// /// RSA公钥 /// [Display(Name = "RSA公钥")] [StringLength(maximumLength:1000,ErrorMessage = "{0}不能超过{1}字")] public System.String rsaPublicKey { get; set; } /// /// 子商户应用号 /// [Display(Name = "子商户应用号")] [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")] public System.String subAppId { get; set; } /// /// 子商户号 /// [Display(Name = "子商户号")] [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")] public System.String subMchId { get; set; } /// /// 支付回调通知 /// [Display(Name = "支付回调通知")] [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")] public System.String notifyUrl { get; set; } /// /// 退款回调 /// [Display(Name = "退款回调")] [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")] public System.String refundUrl { get; set; } /// /// 跳转地址 /// [Display(Name = "跳转地址")] [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")] public System.String jumpUrl { get; set; } /// /// 是否开启 /// [Display(Name = "是否开启")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean isEnable { get; set; } /// /// 是否本类默认 /// [Display(Name = "是否本类默认")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean isDefault { get; set; } /// /// 应用类型 /// [Display(Name = "应用类型")] [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")] public System.String appType { get; set; } } }