All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.didiglobal.logi.security.common.dto.user.UserBriefQueryDTO Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy