Merge branch 'master' into docker_package
This commit is contained in:
commit
da9b058e65
|
@ -25,6 +25,7 @@ import java.util.List;
|
||||||
@Data
|
@Data
|
||||||
@ApiModel(value = "用户管理")
|
@ApiModel(value = "用户管理")
|
||||||
public class SysUserDTO implements Serializable {
|
public class SysUserDTO implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@ApiModelProperty(value = "id")
|
@ApiModelProperty(value = "id")
|
||||||
|
@ -84,4 +85,7 @@ public class SysUserDTO implements Serializable {
|
||||||
@ApiModelProperty(value = "部门名称")
|
@ApiModelProperty(value = "部门名称")
|
||||||
private String deptName;
|
private String deptName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "登录失败次数")
|
||||||
|
private Integer frequency;
|
||||||
|
|
||||||
}
|
}
|
|
@ -6,8 +6,18 @@ package io.renren.modules.sys.enums;
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public enum UserStatusEnum {
|
public enum UserStatusEnum {
|
||||||
|
/**
|
||||||
|
* 停用
|
||||||
|
*/
|
||||||
DISABLE(0),
|
DISABLE(0),
|
||||||
ENABLED(1);
|
/**
|
||||||
|
* 正常
|
||||||
|
*/
|
||||||
|
ENABLED(1),
|
||||||
|
/**
|
||||||
|
* 锁定
|
||||||
|
*/
|
||||||
|
LOCKED(2);
|
||||||
|
|
||||||
private int value;
|
private int value;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue