69 lines
1.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
/// <summary>
/// 微信支付配置表
/// </summary>
[SugarTable("WeChatPayConfig")]
public class WeChatPayConfig : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
{
/// <summary>
/// 商户ID(外键)
/// </summary>
public long MerchantId { get; set; }
/// <summary>
/// 微信支付商户号
/// </summary>
[SugarColumn(Length = 32)]
public string MerchantIdValue { get; set; }
/// <summary>
/// 微信支付 APIv3 密钥
/// </summary>
[SugarColumn(Length = 64)]
public string MerchantV3Secret { get; set; }
/// <summary>
/// 微信支付商户证书序列号
/// </summary>
[SugarColumn(Length = 64)]
public string MerchantCertificateSerialNumber { get; set; }
/// <summary>
/// 微信支付商户私钥文件URL
/// </summary>
[SugarColumn(Length = 256)]
public string MerchantCertificatePrivateKey { get; set; }
/// <summary>
/// 可用状态
/// </summary>
public AvailabilityStatus Status { get; set; }
/// <summary>
/// 标记删除
/// </summary>
public bool DeleteMark { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
public long? UpdatedUserId { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
}