package com.vci.frameworkcore.model.dto;
|
|
import com.vci.starter.web.pagemodel.BaseModelVO;
|
|
/**
|
* 密码安全策略数据传输对象
|
* @author ludc
|
* @date 2024/7/10 13:01
|
*/
|
public class SmPasswordStrategyDTO extends BaseModelVO {
|
|
/**
|
* 禁止修改这个值
|
*/
|
private static final long serialVersionUID = 4615707120594571129L;
|
|
/**
|
* 最小长度
|
*/
|
private short minLength;
|
|
/**
|
* 有效天数
|
*/
|
private short validDay;
|
|
/**
|
* 提醒天数
|
*/
|
private short remindDay;
|
|
/**
|
* 可以重试的次数
|
*/
|
private short retryTime;
|
|
/**
|
* 锁定时间
|
*/
|
private short lockTime;
|
|
/**
|
* 是否为默认
|
*/
|
private Integer defaultFlag;
|
|
/**
|
* 密码的最大长度
|
*/
|
private short maxLength;
|
|
/**
|
* 密码字符所需类型
|
*/
|
private short requireCharType;
|
|
/**
|
* 密码字符所需类型:组合方式显示值
|
*/
|
private String combinations;
|
|
/**
|
* 密码所需字符种类个数
|
*/
|
private short requireCharCount;
|
|
/**
|
* 编号
|
*/
|
private String id;
|
|
/**
|
* 名称
|
*/
|
private String name;
|
|
/**
|
* 描述
|
*/
|
private String description;
|
|
public String getCombinations() {
|
return combinations;
|
}
|
|
public void setCombinations(String combinations) {
|
this.combinations = combinations;
|
}
|
|
/**
|
* 获取 最小长度
|
*/
|
public short getMinLength (){
|
return minLength;
|
}
|
|
/**
|
* 设置 最小长度
|
*/
|
public void setMinLength (short minLength){
|
this.minLength = minLength;
|
}
|
|
/**
|
* 获取 有效天数
|
*/
|
public short getValidDay (){
|
return validDay;
|
}
|
|
/**
|
* 设置 有效天数
|
*/
|
public void setValidDay (short validDay){
|
this.validDay = validDay;
|
}
|
|
/**
|
* 获取 提醒天数
|
*/
|
public short getRemindDay (){
|
return remindDay;
|
}
|
|
/**
|
* 设置 提醒天数
|
*/
|
public void setRemindDay (short remindDay){
|
this.remindDay = remindDay;
|
}
|
|
/**
|
* 获取 可以重试的次数
|
*/
|
public short getRetryTime (){
|
return retryTime;
|
}
|
|
/**
|
* 设置 可以重试的次数
|
*/
|
public void setRetryTime (short retryTime){
|
this.retryTime = retryTime;
|
}
|
|
/**
|
* 获取 锁定时间
|
*/
|
public short getLockTime (){
|
return lockTime;
|
}
|
|
/**
|
* 设置 锁定时间
|
*/
|
public void setLockTime (short lockTime){
|
this.lockTime = lockTime;
|
}
|
|
/**
|
* 获取 是否为默认
|
*/
|
public Integer getDefaultFlag (){
|
return defaultFlag;
|
}
|
|
/**
|
* 设置 是否为默认
|
*/
|
public void setDefaultFlag (Integer defaultFlag){
|
this.defaultFlag = defaultFlag;
|
}
|
|
/**
|
* 获取 密码的最大长度
|
*/
|
public short getMaxLength (){
|
return maxLength;
|
}
|
|
/**
|
* 设置 密码的最大长度
|
*/
|
public void setMaxLength (short maxLength){
|
this.maxLength = maxLength;
|
}
|
|
/**
|
* 获取 密码字符所需类型
|
*/
|
public short getRequireCharType (){
|
return requireCharType;
|
}
|
|
/**
|
* 设置 密码字符所需类型
|
*/
|
public void setRequireCharType (short requireCharType){
|
this.requireCharType = requireCharType;
|
}
|
|
/**
|
* 获取 密码所需字符种类个数
|
*/
|
public short getRequireCharCount (){
|
return requireCharCount;
|
}
|
|
/**
|
* 设置 密码所需字符种类个数
|
*/
|
public void setRequireCharCount (short requireCharCount){
|
this.requireCharCount = requireCharCount;
|
}
|
|
/**
|
* 获取 编号
|
*/
|
@Override
|
public String getId (){
|
return id;
|
}
|
|
/**
|
* 设置 编号
|
*/
|
@Override
|
public void setId (String id){
|
this.id = id;
|
}
|
|
/**
|
* 获取 名称
|
*/
|
@Override
|
public String getName (){
|
return name;
|
}
|
|
/**
|
* 设置 名称
|
*/
|
@Override
|
public void setName (String name){
|
this.name = name;
|
}
|
|
/**
|
* 获取 描述
|
*/
|
@Override
|
public String getDescription (){
|
return description;
|
}
|
|
/**
|
* 设置 描述
|
*/
|
@Override
|
public void setDescription (String description){
|
this.description = description;
|
}
|
|
@Override
|
public String toString() {
|
return "SmPasswordStrategyDTO{" +
|
"minLength='" + minLength +"',"+
|
"validDay='" + validDay +"',"+
|
"remindDay='" + remindDay +"',"+
|
"retryTime='" + retryTime +"',"+
|
"lockTime='" + lockTime +"',"+
|
"defaultFlag='" + defaultFlag +"',"+
|
"maxLength='" + maxLength +"',"+
|
"requireCharType='" + requireCharType +"',"+
|
"requireCharCount='" + requireCharCount +"',"+
|
"id='" + id +"',"+
|
"name='" + name +"',"+
|
"description='" + description +"',"+
|
"}" + super.toString();
|
}
|
|
}
|