Commit e5a48c43 by guojuxing

添加仅超管可用标志字段

parent c5673200
package com.gic.auth.constant;
/**
* 超管可用标志
* @ClassName: MenuOperationItemConstants

* @Description: 

* @author guojuxing

* @date 2019/10/23 6:24 PM

*/
public class MenuOperationItemConstants {
/**
* 是超管可用
*/
public final static int ADMIN_ONLY = 1;
/**
* 不是是超管可用
*/
public final static int ADMIN_ONLY_NO = 0;
}
......@@ -6,6 +6,8 @@ import java.io.Serializable;
import java.util.List;
public class MenuDTO implements Serializable {
private static final long serialVersionUID = -3884129728015209740L;
/**
* 新增页面参数校验分组
*/
......@@ -76,9 +78,6 @@ public class MenuDTO implements Serializable {
/**
* 菜单路由
*/
@NotBlank(message = "路径URL不能为空", groups = { SaveGICChildPageValid.class, SaveAppChildPageValid.class,
EditAppChildPageValid.class, SaveOperationItemValid.class, UpdateGICChildPageValid.class,
UpdateOperationItemValid.class })
private String menuUrl;
/**
......@@ -159,6 +158,16 @@ public class MenuDTO implements Serializable {
*/
private boolean needCreateAuthItem;
/**
* 前端使用:二级域名,也就是项目的部署路径,比如门店项目部署在/damo-store下面,那么就是/damo-store
*/
private String projectUrlForWeb;
/**
* 操作项 ,仅超管可用 1:是 0:否
*/
private Integer adminOnlySign;
public Integer getMenuId() {
return menuId;
}
......@@ -302,4 +311,20 @@ public class MenuDTO implements Serializable {
public void setNeedCreateAuthItem(boolean needCreateAuthItem) {
this.needCreateAuthItem = needCreateAuthItem;
}
public String getProjectUrlForWeb() {
return projectUrlForWeb;
}
public void setProjectUrlForWeb(String projectUrlForWeb) {
this.projectUrlForWeb = projectUrlForWeb;
}
public Integer getAdminOnlySign() {
return adminOnlySign;
}
public void setAdminOnlySign(Integer adminOnlySign) {
this.adminOnlySign = adminOnlySign;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment