using System.ComponentModel.DataAnnotations;

namespace TakeoutSaaS.Infrastructure.Identity.Options;

/// <summary>
/// 微信小程序配置选项。
/// </summary>
public sealed class WeChatMiniOptions
{
    /// <summary>
    /// 微信小程序 AppId。
    /// </summary>
    [Required]
    public string AppId { get; set; } = string.Empty;

    /// <summary>
    /// 微信小程序 AppSecret。
    /// </summary>
    [Required]
    public string Secret { get; set; } = string.Empty;
}
