package com.storlead.user.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @program: sp-cloud
 * @description:
 * @author: chenkq
 * @create: 2021-11-23 10:29
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class MenuTreeParam implements Serializable {

    @ApiModelProperty(value = "查询应用应用菜单")
    private List<Long> appIds;

    @ApiModelProperty(value = "角色")
    private Long roleId;

    @ApiModelProperty(value = "是否需要将应用作为顶级菜单,默认不需要")
    private Boolean needService = false;

    @ApiModelProperty(value = "查询应用应用菜单")
    private Long appId;

}
