package com.xiaoniu.subsystem.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xiaoniu.common.core.resdata.BaseQueryDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/11/27 14:30
 */
@Data
@Schema(description = "用户列表查询参数DTO")
public class UserListQueryDTO extends BaseQueryDTO {

    /**
     * 角色名称
     */
    @Schema(description = "角色名称")
    private String roleName;
    /**
     * 账号
     */
    @Schema(description = "账号")
    private String userName;

    /**
     * 真名
     */
    @Schema(description = "真名")
    private String realName;

    /**
     * 部门
     */
    @Schema(description = "部门id")
    private Long unitId;

    @JsonIgnore
    @Schema(description = "部门id集合")
    private List<Long> unitIdList;
}
