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