From 4d3f7f10d422fd6eee128fa32bc48ce7b10ec09d Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期二, 07 一月 2025 18:24:21 +0800
Subject: [PATCH] 属性定义参照类型改成下拉树选择,处理值域显示不正确的问题,属性名选择改为下拉搜索
---
Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java | 128 +++++++++++++++++++++++++++++++++++++++++-
1 files changed, 124 insertions(+), 4 deletions(-)
diff --git a/Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java b/Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java
index 473c411..0e7159d 100644
--- a/Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java
+++ b/Source/plt-web/plt-web-parent/plt-web-api/src/main/java/com/vci/pagemodel/MenuVO.java
@@ -2,6 +2,8 @@
package com.vci.pagemodel;
+import java.io.Serializable;
+import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -10,7 +12,7 @@
*
* @author Chill
*/
-public class MenuVO {
+public class MenuVO implements Serializable {
private static final long serialVersionUID = 1L;
/**
@@ -26,7 +28,7 @@
/**
* 瀛愬瓩鑺傜偣
*/
- private List<MenuVO> children;
+ private List<MenuVO> children = new ArrayList<>();
/**
* 鏄惁鏈夊瓙瀛欒妭鐐�
@@ -49,9 +51,24 @@
private String alias;
/**
- * 璇锋眰鍦板潃
+ * 璇锋眰鍦板潃锛岀晫闈㈣矾寰�
*/
private String path;
+
+ /**
+ * 瀹㈡埛绔湴鍧�
+ */
+ private String pathC;
+
+ /**
+ * resourceDotNet
+ */
+ private String resourceDotNet;
+
+ /**
+ * resourceDotMobile
+ */
+ private String resourceMobile;
/**
* 鑿滃崟璧勬簮
@@ -64,7 +81,7 @@
private Integer sort;
/**
- * 鑿滃崟绫诲瀷
+ * 鑿滃崟绫诲瀷: 0锛氳彍鍗曪紝1锛氭寜閽�
*/
private Integer category;
@@ -109,10 +126,113 @@
private String modeType;
/**
+ * 鍔熻兘绫诲瀷锛�0锛氬姛鑳借彍鍗曡妭鐐癸紝1锛氬垎绫�
+ */
+ private int functionType;
+
+ /**
+ * 鏄ā鍧椾笅瀛愬璞℃槸妯″潡杩樻槸鎿嶄綔锛�0琛ㄧず鏃犲瓙鑺傜偣锛�1琛ㄧず鏄ā鍧楋紝2琛ㄧず鏄搷浣�
+ */
+ private Integer childType;
+
+ /**
+ * 1鏈夋晥0鏃犳晥锛氭棤鏁堟椂锛屽湪鍔熻兘鏉冮檺鐣岄潰涓嶆樉绀�
+ */
+ private Boolean isValid;
+
+ /**
+ * 鍚堝苟浜唂unctionOperate瀵硅薄涓殑灞炴�х殑妯″潡鐨刬d
+ */
+ private String funcId;
+
+ /**
+ * 妯″潡涓嬪叧鑱旂殑鎿嶄綔绫诲瀷id
+ */
+ private String operId;
+ /**
+ * 鏄惁鏈夋潈闄愶紝0娌℃湁锛�1鏈�
+ */
+ private Integer havePermission;
+
+ /**
* 鍓嶇鏄惁闅愯棌
*/
private HashMap<String,Boolean> meta = new HashMap<>();
+ public void setFuncId(String funcId) {
+ this.funcId = funcId;
+ }
+
+ public void setOperId(String operId) {
+ this.operId = operId;
+ }
+
+ public String getFuncId() {
+ return funcId;
+ }
+
+ public void setFunctionType(int functionType) {
+ this.functionType = functionType;
+ }
+
+ public void setHavePermission(Integer havePermission) {
+ this.havePermission = havePermission;
+ }
+
+ public int getFunctionType() {
+ return functionType;
+ }
+
+ public Integer getHavePermission() {
+ return havePermission;
+ }
+
+ public String getOperId() {
+ return operId;
+ }
+
+ public void setPathC(String pathC) {
+ this.pathC = pathC;
+ }
+
+ public void setResourceDotNet(String resourceDotNet) {
+ this.resourceDotNet = resourceDotNet;
+ }
+
+ public void setResourceMobile(String resourceMobile) {
+ this.resourceMobile = resourceMobile;
+ }
+
+ public String getPathC() {
+ return pathC;
+ }
+
+ public String getResourceDotNet() {
+ return resourceDotNet;
+ }
+
+ public String getResourceMobile() {
+ return resourceMobile;
+ }
+
+ public void setIsValid(Boolean isValid) {
+ this.isValid = isValid;
+ }
+
+ public Boolean getIsValid() {
+ return isValid;
+ }
+
+
+
+ public void setChildType(Integer childType) {
+ this.childType = childType;
+ }
+
+ public Integer getChildType() {
+ return childType;
+ }
+
public String getModeType() {
return modeType;
}
--
Gitblit v1.9.3