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

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

import java.util.List;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "菜单请求")
@EqualsAndHashCode(callSuper = true)
public class RoleMenuTreeQry extends Query {

	@Schema(title = "角色权限", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "acp")
	private List<Long> roleId;

	@Schema(title = "平台ID", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private Long platformId;
}
