From 3dd42db83150803f29ee7361090295dfaffdd428 Mon Sep 17 00:00:00 2001 From: shicf <shi_chongfu@163.com> Date: 星期二, 08 十月 2024 10:57:38 +0800 Subject: [PATCH] 未配置表单情况下返回数据结构 --- src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java | 232 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 225 insertions(+), 7 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 0e31fae..66593ab 100644 --- a/src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java +++ b/src/main/java/com/product/mobile/core/entity/FaceFieldEntity.java @@ -1,11 +1,19 @@ package com.product.mobile.core.entity; +import java.util.List; +import java.util.Map; +import java.util.HashMap; + /** * @Author cheng * @Date 2024/8/15 11:12 * @Desc */ public class FaceFieldEntity { + + private String table; + + private String field; /** * 鏄惁蹇呭~ @@ -14,12 +22,12 @@ /** * 鏄剧ず鍚嶇О */ - private String label; + private String name; /** * 鍙傜収鍚嶇О */ - private String advanceName; + private String prompt; /** * 缁勪欢绫诲瀷 @@ -38,7 +46,7 @@ /** * 榛樿鍊� */ - private String defaultValue; + private Object defaultValue; /** * 鎻愮ず淇℃伅 @@ -55,10 +63,6 @@ private String fileField; /** - * 鎺т欢鎺掑簭 - */ - private Integer controlSequence; - /** * 楂樼骇鍙傜収鍏宠仈璁剧疆 */ private String promptSetting; @@ -68,5 +72,219 @@ */ private String serialNumber; + 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; + + + public String getHidden() { + return hidden; + } + + + 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() { + return required; + } + + public void setRequired(String required) { + this.required = required; + } + + public String getName() { + return name; + } + + public void setName(String label) { + this.name = label; + } + + public String getPrompt() { + return prompt; + } + + public void setPrompt(String advanceName) { + this.prompt = advanceName; + } + + public String getComponentType() { + return componentType; + } + + public void setComponentType(String componentType) { + this.componentType = componentType; + } + + public String getMultiple() { + return multiple; + } + + public void setMultiple(String multiple) { + this.multiple = multiple; + } + + public String getDisabled() { + return disabled; + } + + public void setDisabled(String disabled) { + this.disabled = disabled; + } + + public Object getDefaultValue() { + return defaultValue; + } + + public void setDefaultValue(Object defaultValue) { + this.defaultValue = defaultValue; + } + + public String getPlaceholder() { + return placeholder; + } + + public void setPlaceholder(String placeholder) { + this.placeholder = placeholder; + } + + public String getFileTableName() { + return fileTableName; + } + + public void setFileTableName(String fileTableName) { + this.fileTableName = fileTableName; + } + + public String getFileField() { + return fileField; + } + + public void setFileField(String fileField) { + this.fileField = fileField; + } + + public String getPromptSetting() { + return promptSetting; + } + + public void setPromptSetting(String promptSetting) { + this.promptSetting = promptSetting; + } + + public String getSerialNumber() { + return serialNumber; + } + + 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); + } } -- Gitblit v1.9.2