From 605578732df221ebfef66d07d87ec63e4317595a Mon Sep 17 00:00:00 2001 From: 许鹏程 <1821349743@qq.com> Date: 星期三, 25 九月 2024 09:29:03 +0800 Subject: [PATCH] 移动端获取表单组件字段,修正子表获取字段 --- src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java | 81 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 78 insertions(+), 3 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..ba6fa79 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,9 @@ package com.product.mobile.core.entity; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + /** * @Author cheng * @Date 2024/8/15 11:12 @@ -40,7 +44,7 @@ /** * 榛樿鍊� */ - private String defaultValue; + private Object defaultValue; /** * 鎻愮ず淇℃伅 @@ -65,6 +69,25 @@ * 娴佹按鍙烽厤缃� */ private String serialNumber; + + private String organizationType; + + /** + * 瀛愯〃鍏佽鏂板 + */ + private Boolean allowAdd; + /** + * 瀛愯〃鍏佽鍒犻櫎 + */ + private Boolean allowDelete; + /** + * 瀛愯〃琛ㄥ悕 褰� component = 'subTable' 鐨勬椂鍊欐湁鍊� + */ + private String subTableName; + + private List<FaceFieldEntity> subField; + + private Map<String, Object> otherParams = new HashMap<>(); public String getFieldName() { return fieldName; @@ -122,11 +145,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 +192,56 @@ 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 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); + } } -- Gitblit v1.9.2