com.github.wzc789376152.shiro.properties.ShiroRedisProperty Maven / Gradle / Ivy
The newest version!
package com.github.wzc789376152.shiro.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "spring.shiro.redis")
public class ShiroRedisProperty {
private Boolean enable = false;
private Integer timeout;
public Boolean getEnable() {
return enable;
}
public void setEnable(Boolean enable) {
this.enable = enable;
}
public Integer getTimeout() {
return timeout;
}
public void setTimeout(Integer timeout) {
this.timeout = timeout;
}
}