using System.ComponentModel.DataAnnotations;
using YD_Event.Core.Enum;
namespace YD_Event.Application.Merchant.Dtos;
///
/// 微信支付配置输入DTO
///
public class WeChatPayConfigInputDto
{
///
/// 微信支付商户号
///
[Required(ErrorMessage = "微信支付商户号不能为空")]
public string MerchantIdValue { get; set; }
///
/// 微信支付 APIv3 密钥
///
[Required(ErrorMessage = "微信支付 APIv3 密钥不能为空")]
public string MerchantV3Secret { get; set; }
///
/// 微信支付商户证书序列号
///
[Required(ErrorMessage = "微信支付商户证书序列号不能为空")]
public string MerchantCertificateSerialNumber { get; set; }
///
/// 微信支付商户私钥文件URL
///
public string MerchantCertificatePrivateKey { get; set; }
///
/// 可用状态
///
public AvailabilityStatus Status { get; set; } = AvailabilityStatus.Enable;
}