io.github.wslxm.springbootplus2.manage.sys.model.query.SysUserQuery Maven / Gradle / Ivy
The newest version!
package io.github.wslxm.springbootplus2.manage.sys.model.query;
import io.github.wslxm.springbootplus2.core.base.model.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import java.util.List;
import java.util.Set;
/**
* 用户
*
* @author 王松
* @WX-QQ 1720696548
* @date 2019/11/14 21:06
*/
@Data
@ToString(callSuper = true)
@ApiModel(value = "SysUserQuery", description = "用户表")
public class SysUserQuery extends BaseQuery {
private static final long serialVersionUID = 4934650100711613453L;
@ApiModelProperty(value = "id")
private String id;
@ApiModelProperty(value = "用户 ids")
private List ids;
@ApiModelProperty(value = "账号/用户名")
private String username;
@ApiModelProperty(value = "电话")
private String phone;
@ApiModelProperty(value = "昵称")
private String fullName;
@ApiModelProperty(value = "禁用(0-否,1-是)")
private Integer disable;
@ApiModelProperty(value = "角色ids-逗号分隔")
private String roleIds;
@ApiModelProperty(value = "部门ids")
private String depIds;
@ApiModelProperty(value = "职位(字典code)")
private Integer position;
@ApiModelProperty(value = "是否只查询当前登录人创建的用户,默认false", notes = "需要多层级的结构权限,在角色列表查询,和用户分配时使用传递true")
private Boolean isLoginUser;
@ApiModelProperty(value = "注册开始时间/结束时间,逗号分割")
private String regTime;
@ApiModelProperty(value = "是否在线 true-是 false-否")
private Boolean isOnline;
@ApiModelProperty(value = "在线用户 ids , 当 isOnline=true时, page 查询方法自动设置值")
private Set onlineUserIds;
}