yz
2021-03-04 6343cac51e460280c721c9db0238b62389146590
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
package cc.mrbird.febs.common.redis.properties;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * @author MrBird
 */
@ConfigurationProperties(prefix = "febs.lettuce.redis")
public class FebsLettuceRedisProperties {
 
    /**
     * 是否开启Lettuce Redis
     */
    private Boolean enable = true;
 
    public Boolean getEnable() {
        return enable;
    }
 
    public void setEnable(Boolean enable) {
        this.enable = enable;
    }
 
    @Override
    public String toString() {
        return "FebsLettuceRedisProperties{" +
                "enable=" + enable +
                '}';
    }
}