package com.xunhong.erp.turbo.api.rbac.dto.qry;

import com.alibaba.cola.dto.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@Schema(title = "角色查询")
@EqualsAndHashCode(callSuper = true)
public class RoleListQry extends PageQuery {

	@Schema(title = "角色名称", type = "string")
	private String name;

	@Schema(title = "用户Id", type = "string")
	private Long userId;

	@Schema(title = "角色编号", type = "string")
	private Long roleId;

	@Schema(title = "应用角色Id")
	private List<Long> roleIdList;

	@Schema(title = "平台Id", type = "string")
	private Long platformId;

	@Schema(title = "平台Id", type = "string")
	private List<Long> platformIdList;

	@Schema(title = "角色类型", type = "integer")
	private Integer type;
}
