package com.gxwebsoft.common.system.param; import com.baomidou.mybatisplus.annotation.TableLogic; import com.gxwebsoft.common.core.annotation.QueryField; import com.gxwebsoft.common.core.annotation.QueryType; import com.gxwebsoft.common.core.web.BaseParam; import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * 菜单查询参数 * * @author WebSoft * @since 2021-08-29 19:36:10 */ @Data @EqualsAndHashCode(callSuper = true) @JsonInclude(JsonInclude.Include.NON_NULL) @ApiModel(description = "菜单查询参数") public class MenuParam extends BaseParam { private static final long serialVersionUID = 1L; @ApiModelProperty("菜单id") @QueryField(type = QueryType.EQ) private Integer menuId; @ApiModelProperty("上级id, 0是顶级") @QueryField(type = QueryType.EQ) private Integer parentId; @ApiModelProperty("菜单名称") private String title; @ApiModelProperty("菜单路由关键字") private String path; @ApiModelProperty("菜单组件地址") private String component; @ApiModelProperty("模块ID") private String modules; @ApiModelProperty("菜单类型, 0菜单, 1按钮") @QueryField(type = QueryType.EQ) private Integer menuType; @ApiModelProperty("权限标识") private String authority; @ApiModelProperty("菜单图标") private String icon; @ApiModelProperty("关联应用") private Integer appId; @ApiModelProperty("是否隐藏, 0否, 1是(仅注册路由不显示左侧菜单)") @QueryField(type = QueryType.EQ) private Integer hide; @ApiModelProperty("是否删除, 0否, 1是") @TableLogic private Integer deleted; @ApiModelProperty("租户ID") @QueryField(type = QueryType.EQ) private Integer tenantId; @ApiModelProperty("企业ID") @QueryField(type = QueryType.EQ) private Integer companyId; }