|
|
@@ -27,7 +27,7 @@ import java.util.List;
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
@Accessors(chain = true)
|
|
|
@TableName("sys_menu")
|
|
|
-@ApiModel(value = "SysMenu对象" , description = "菜单权限")
|
|
|
+@ApiModel(value = "SysMenu对象", description = "菜单权限")
|
|
|
public class SysMenu extends BaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
@@ -75,13 +75,13 @@ public class SysMenu extends BaseEntity {
|
|
|
/**
|
|
|
* 是否为外链(0是 1否)
|
|
|
*/
|
|
|
- @ApiModelProperty(value = "是否为外链" , notes = "0=是,1=否")
|
|
|
+ @ApiModelProperty(value = "是否为外链", notes = "0=是,1=否")
|
|
|
private Long isFrame;
|
|
|
|
|
|
/**
|
|
|
* 是否缓存(0缓存 1不缓存)
|
|
|
*/
|
|
|
- @ApiModelProperty(value = "是否缓存" , notes = "0=缓存,1=不缓存")
|
|
|
+ @ApiModelProperty(value = "是否缓存", notes = "0=缓存,1=不缓存")
|
|
|
private Long isCache;
|
|
|
|
|
|
/**
|
|
|
@@ -93,19 +93,19 @@ public class SysMenu extends BaseEntity {
|
|
|
/**
|
|
|
* 菜单类型(M目录 C菜单 F按钮)
|
|
|
*/
|
|
|
- @ApiModelProperty(value = "菜单类型" , notes = "M=目录,C=菜单,F=按钮")
|
|
|
+ @ApiModelProperty(value = "菜单类型", notes = "M=目录,C=菜单,F=按钮")
|
|
|
private String menuType;
|
|
|
|
|
|
/**
|
|
|
* 菜单状态(0显示 1隐藏)
|
|
|
*/
|
|
|
- @ApiModelProperty(value = "菜单状态" , notes = "0=显示,1=隐藏")
|
|
|
+ @ApiModelProperty(value = "菜单状态", notes = "0=显示,1=隐藏")
|
|
|
private String visible;
|
|
|
|
|
|
/**
|
|
|
* 菜单状态(0正常 1停用)
|
|
|
*/
|
|
|
- @ApiModelProperty(value = "菜单状态" , notes = "0=正常,1=停用")
|
|
|
+ @ApiModelProperty(value = "菜单状态", notes = "0=正常,1=停用")
|
|
|
private String status;
|
|
|
|
|
|
/**
|
|
|
@@ -123,6 +123,11 @@ public class SysMenu extends BaseEntity {
|
|
|
@ApiModelProperty(value = "菜单图标")
|
|
|
private String icon;
|
|
|
/**
|
|
|
+ * app菜单图标地址
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "菜单图标")
|
|
|
+ private String imagePath;
|
|
|
+ /**
|
|
|
* 子菜单
|
|
|
*/
|
|
|
@TableField(exist = false)
|
|
|
@@ -131,65 +136,27 @@ public class SysMenu extends BaseEntity {
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
-
|
|
|
-
|
|
|
- .append("id" , getId())
|
|
|
-
|
|
|
-
|
|
|
- .append("menuName" , getMenuName())
|
|
|
-
|
|
|
-
|
|
|
- .append("parentId" , getParentId())
|
|
|
-
|
|
|
-
|
|
|
- .append("orderNum" , getOrderNum())
|
|
|
-
|
|
|
-
|
|
|
- .append("path" , getPath())
|
|
|
-
|
|
|
-
|
|
|
- .append("component" , getComponent())
|
|
|
-
|
|
|
-
|
|
|
- .append("query" , getQuery())
|
|
|
-
|
|
|
-
|
|
|
- .append("isFrame" , getIsFrame())
|
|
|
-
|
|
|
-
|
|
|
- .append("isCache" , getIsCache())
|
|
|
-
|
|
|
- .append("platformType" , getPlatformType())
|
|
|
-
|
|
|
- .append("remark",getRemark())
|
|
|
-
|
|
|
- .append("menuType" , getMenuType())
|
|
|
-
|
|
|
-
|
|
|
- .append("visible" , getVisible())
|
|
|
-
|
|
|
-
|
|
|
- .append("status" , getStatus())
|
|
|
-
|
|
|
-
|
|
|
- .append("perms" , getPerms())
|
|
|
-
|
|
|
-
|
|
|
- .append("icon" , getIcon())
|
|
|
-
|
|
|
-
|
|
|
- .append("createBy" , getCreateBy())
|
|
|
-
|
|
|
-
|
|
|
- .append("createTime" , getCreateTime())
|
|
|
-
|
|
|
-
|
|
|
- .append("updateBy" , getUpdateBy())
|
|
|
-
|
|
|
-
|
|
|
- .append("updateTime" , getUpdateTime())
|
|
|
-
|
|
|
-
|
|
|
+ .append("id", getId())
|
|
|
+ .append("menuName", getMenuName())
|
|
|
+ .append("parentId", getParentId())
|
|
|
+ .append("orderNum", getOrderNum())
|
|
|
+ .append("path", getPath())
|
|
|
+ .append("component", getComponent())
|
|
|
+ .append("query", getQuery())
|
|
|
+ .append("isFrame", getIsFrame())
|
|
|
+ .append("isCache", getIsCache())
|
|
|
+ .append("platformType", getPlatformType())
|
|
|
+ .append("remark", getRemark())
|
|
|
+ .append("menuType", getMenuType())
|
|
|
+ .append("visible", getVisible())
|
|
|
+ .append("status", getStatus())
|
|
|
+ .append("perms", getPerms())
|
|
|
+ .append("icon", getIcon())
|
|
|
+ .append("imagePath", getImagePath())
|
|
|
+ .append("createBy", getCreateBy())
|
|
|
+ .append("createTime", getCreateTime())
|
|
|
+ .append("updateBy", getUpdateBy())
|
|
|
+ .append("updateTime", getUpdateTime())
|
|
|
.toString();
|
|
|
}
|
|
|
}
|