package com.fufan.mtsaas.aliyun;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@Data
@Validated
@Component
@ConfigurationProperties(prefix = SmsProperties.PREFIX)
public class SmsProperties {

    public static final String PREFIX = "aliyun.sms";

//    @NotBlank
    private String regionId;

//    @NotBlank
    private String accessKeyId;

//    @NotBlank
    private String accessKeySecret;

    /**
     * 默认签名名称
     */
//    @NotBlank
    private String defaultSignName;

    /**
     * 验证码模块id
     */
//    @NotBlank
    private String verificationCodeTemplateCode;

}
