车间能级提升-智能设备管理系统
朱桂飞
2025-01-09 3e8f7f239bedae0b4f04a1ac6bd443ba6298f73c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package org.dromara.common.web.config.properties;
 
import org.dromara.common.web.enums.CaptchaCategory;
import org.dromara.common.web.enums.CaptchaType;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * 验证码 配置属性
 *
 * @author Lion Li
 */
@Data
@ConfigurationProperties(prefix = "captcha")
public class CaptchaProperties {
 
    private Boolean enable;
 
    /**
     * 验证码类型
     */
    private CaptchaType type;
 
    /**
     * 验证码类别
     */
    private CaptchaCategory category;
 
    /**
     * 数字验证码位数
     */
    private Integer numberLength;
 
    /**
     * 字符验证码长度
     */
    private Integer charLength;
}