com.didiglobal.logi.security.common.dto.user.UserBriefQueryDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.common.dto.user;
import com.didiglobal.logi.security.common.dto.PageParamDTO;
import com.didiglobal.logi.security.common.dto.resource.MByUQueryDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author cjm
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class UserBriefQueryDTO extends PageParamDTO {
/**
* 账户名
*/
private String userName;
/**
* 实名
*/
private String realName;
/**
* 部门id
*/
private Integer deptId;
/**
* 部门名
*/
private String deptName;
public UserBriefQueryDTO(MByUQueryDTO queryDTO) {
this.setPage(queryDTO.getPage());
this.setSize(queryDTO.getSize());
this.userName = queryDTO.getUserName();
this.realName = queryDTO.getRealName();
this.deptId = queryDTO.getDeptId();
this.deptName = queryDTO.getDeptName();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy