using System.ComponentModel.DataAnnotations;

namespace TakeoutSaaS.Module.Sms.Options;

/// <summary>
/// 腾讯云短信配置。
/// </summary>
public sealed class TencentSmsOptions
{
    /// <summary>
    /// SecretId。
    /// </summary>
    [Required]
    public string SecretId { get; set; } = string.Empty;

    /// <summary>
    /// SecretKey。
    /// </summary>
    [Required]
    public string SecretKey { get; set; } = string.Empty;

    /// <summary>
    /// 应用 SdkAppId。
    /// </summary>
    [Required]
    public string SdkAppId { get; set; } = string.Empty;

    /// <summary>
    /// 默认签名。
    /// </summary>
    public string? SignName { get; set; }

    /// <summary>
    /// 默认地域。
    /// </summary>
    public string Region { get; set; } = "ap-guangzhou";

    /// <summary>
    /// 接口域名。
    /// </summary>
    public string Endpoint { get; set; } = "https://sms.tencentcloudapi.com";
}
