package com.softwarebr.nunu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 短信配置
 * @author xu
 * @date 2019/10/22 16:24
 */
@ApiModel
@Data
public class SMSConfig {
    public static final String KEY = "KEY_SMS_CONFIG";

    @ApiModelProperty(value = "阿里AK", example = "dfd")
    String aliAk;
    @ApiModelProperty(value = "阿里AS", example = "fdsfdf")
    String aliSk;
    @ApiModelProperty(value = "阿里签名", example = "fdsfdf")
    String aliSign;
    @ApiModelProperty(value = "验证码长度", example = "60")
    Integer length;
    @ApiModelProperty(value = "发送间隔(秒)", example = "60")
    Integer interval;
    @ApiModelProperty(value = "超时时间(分钟)", example = "15")
    Integer timeout;
    @ApiModelProperty(value = "最大错误重试次数", example = "1")
    Integer tautology;
    @ApiModelProperty(value = "通用验证码(不填为不开启)", example = "1")
    String generalCaptcha;

}
