From eaa5216743b873e7c8ac37ad952776401a951f82 Mon Sep 17 00:00:00 2001
From: 6c <420680616@qq.com>
Date: 星期六, 11 十月 2025 11:46:02 +0800
Subject: [PATCH] 移动端加载mvc
---
src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 161 insertions(+), 18 deletions(-)
diff --git a/src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java b/src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java
index c8413b3..94bbfaa 100644
--- a/src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java
+++ b/src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java
@@ -1,5 +1,11 @@
package com.product.mobile.core.entity;
+import com.alibaba.fastjson.JSONArray;
+
+import java.util.List;
+import java.util.Map;
+import java.util.HashMap;
+
/**
* @Author cheng
* @Date 2024/8/15 11:12
@@ -7,7 +13,9 @@
*/
public class FaceFieldEntity {
- private String fieldName;
+ private String table;
+
+ private String field;
/**
* 鏄惁蹇呭~
@@ -16,12 +24,12 @@
/**
* 鏄剧ず鍚嶇О
*/
- private String label;
+ private String name;
/**
* 鍙傜収鍚嶇О
*/
- private String advanceName;
+ private String prompt;
/**
* 缁勪欢绫诲瀷
@@ -40,7 +48,7 @@
/**
* 榛樿鍊�
*/
- private String defaultValue;
+ private Object defaultValue;
/**
* 鎻愮ず淇℃伅
@@ -66,12 +74,71 @@
*/
private String serialNumber;
- public String getFieldName() {
- return fieldName;
+ private String organizationType;
+
+ /**
+ * 瀛愯〃鍏佽鏂板
+ */
+ private Boolean allowAdd;
+ /**
+ * 瀛愯〃鍏佽鍒犻櫎
+ */
+ private Boolean allowDelete;
+ /**
+ * 瀛愯〃琛ㄥ悕 褰� component = 'subTable' 鐨勬椂鍊欐湁鍊�
+ */
+ private String subTableName;
+
+ private List<FaceFieldEntity> subField;
+
+ private String type;
+
+ private String length;
+
+ /**
+ * 闅愯棌 1=鏄紝0=鍚�
+ */
+ private String hidden;
+
+ private JSONArray showComponentFilter;
+
+
+ public String getHidden() {
+ return hidden;
}
- public void setFieldName(String fieldName) {
- this.fieldName = fieldName;
+
+ public void setHidden(String hidden) {
+ this.hidden = hidden;
+ }
+
+ private Map<String, Object> otherParams = new HashMap<>();
+
+ public String getType() {
+ return type;
+ }
+
+
+ public String getLength() {
+ return length;
+ }
+
+
+ public void setLength(String length) {
+ this.length = length;
+ }
+
+
+ public void setType(String fieldType) {
+ this.type = fieldType;
+ }
+
+ public String getField() {
+ return field;
+ }
+
+ public void setField(String fieldName) {
+ this.field = fieldName;
}
public String getRequired() {
@@ -82,20 +149,20 @@
this.required = required;
}
- public String getLabel() {
- return label;
+ public String getName() {
+ return name;
}
- public void setLabel(String label) {
- this.label = label;
+ public void setName(String label) {
+ this.name = label;
}
- public String getAdvanceName() {
- return advanceName;
+ public String getPrompt() {
+ return prompt;
}
- public void setAdvanceName(String advanceName) {
- this.advanceName = advanceName;
+ public void setPrompt(String advanceName) {
+ this.prompt = advanceName;
}
public String getComponentType() {
@@ -122,11 +189,11 @@
this.disabled = disabled;
}
- public String getDefaultValue() {
+ public Object getDefaultValue() {
return defaultValue;
}
- public void setDefaultValue(String defaultValue) {
+ public void setDefaultValue(Object defaultValue) {
this.defaultValue = defaultValue;
}
@@ -169,4 +236,80 @@
public void setSerialNumber(String serialNumber) {
this.serialNumber = serialNumber;
}
+
+ public String getOrganizationType() {
+ return organizationType;
+ }
+
+ public void setOrganizationType(String organizationType) {
+ this.organizationType = organizationType;
+ }
+
+ public Boolean getAllowAdd() {
+ return allowAdd;
+ }
+
+ public void setAllowAdd(Boolean allowAdd) {
+ this.allowAdd = allowAdd;
+ }
+
+ public Boolean getAllowDelete() {
+ return allowDelete;
+ }
+
+ public void setAllowDelete(Boolean allowDelete) {
+ this.allowDelete = allowDelete;
+ }
+
+ public String getSubTableName() {
+ return subTableName;
+ }
+
+ public void setSubTableName(String subTableName) {
+ this.subTableName = subTableName;
+ }
+
+ public List<FaceFieldEntity> getSubField() {
+ return subField;
+ }
+
+ public void setSubField(List<FaceFieldEntity> subField) {
+ this.subField = subField;
+ }
+
+ public String getTable() {
+ return table;
+ }
+
+ public void setTable(String tableUuid) {
+ this.table = tableUuid;
+ }
+
+ public Map<String, Object> getOtherParams() {
+ return otherParams;
+ }
+
+ public void setOtherParams(Map<String, Object> otherParams) {
+ this.otherParams = otherParams;
+ }
+
+ public Object putOtherParam(String key, Object value) {
+ return otherParams.put(key, value);
+ }
+
+ public JSONArray getShowComponentFilter() {
+ return showComponentFilter;
+ }
+
+ public void setShowComponentFilter(JSONArray showComponentFilter) {
+ this.showComponentFilter = showComponentFilter;
+ }
+
+ public void addShowComponentFilter(JSONArray showComponentFilter){
+ if(this.showComponentFilter == null){
+ this.showComponentFilter = showComponentFilter;
+ }else{
+ this.showComponentFilter.addAll(showComponentFilter);
+ }
+ }
}
--
Gitblit v1.9.2