From d7d3e6d3d8add237181db168b21e19b8ffef782d Mon Sep 17 00:00:00 2001
From: shicf <shi_chongfu@163.com>
Date: 星期一, 20 十月 2025 15:09:37 +0800
Subject: [PATCH] 注释
---
src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 155 insertions(+), 15 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 9064f2f..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;
/**
* 缁勪欢绫诲瀷
@@ -68,13 +76,69 @@
private String organizationType;
+ /**
+ * 瀛愯〃鍏佽鏂板
+ */
+ private Boolean allowAdd;
+ /**
+ * 瀛愯〃鍏佽鍒犻櫎
+ */
+ private Boolean allowDelete;
+ /**
+ * 瀛愯〃琛ㄥ悕 褰� component = 'subTable' 鐨勬椂鍊欐湁鍊�
+ */
+ private String subTableName;
- public String getFieldName() {
- return fieldName;
+ 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() {
@@ -85,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() {
@@ -172,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