package com.yuchen.saas.manage.system.api.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 根据权限查询用户
 * </p>
 */
@ApiModel(value = "NestUserByScopeRequest", description = "根据权限查询用户")
@Data
public class NestUserByScopeRequest {

    /**
     * 组织Id
     */
    @NotNull
    @ApiModelProperty(name = "deptId", value = "组织Id")
    private Long deptId;
    /**
     * 权限组id
     */
    @NotNull
    @ApiModelProperty(name = "scopeId", value = "权限组id")
    private Long scopeId;
    /**
     * 权限组类型：0普通角色,1主管理员,2子管理员(主管)
     */
    @NotNull
    @ApiModelProperty(name = "scopeType", value = "权限组类型：0普通角色,1主管理员,2子管理员(主管)")
    private Integer scopeType;

}
