From 34981c30a78e8bbd7791131059a9210f9928b62c Mon Sep 17 00:00:00 2001
From: 刘光辉 <347230014@qq.com>
Date: 星期四, 17 九月 2026 09:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master
---
jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/model/templatenode/nodejson/NodeModel.java | 908 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 908 insertions(+), 0 deletions(-)
diff --git a/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/model/templatenode/nodejson/NodeModel.java b/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/model/templatenode/nodejson/NodeModel.java
new file mode 100644
index 0000000..f65aeba
--- /dev/null
+++ b/jnpf-flowable/jnpf-flowable-entity/src/main/java/jnpf/flowable/model/templatenode/nodejson/NodeModel.java
@@ -0,0 +1,908 @@
+package jnpf.flowable.model.templatenode.nodejson;
+
+import io.swagger.v3.oas.annotations.media.Schema;
+import jnpf.database.model.query.SuperQueryJsonModel;
+import jnpf.emnus.SearchMethodEnum;
+import jnpf.flowable.enums.*;
+import jnpf.flowable.model.templatejson.FlowParamModel;
+import jnpf.flowable.model.util.FlowConstant;
+import jnpf.flowable.model.util.FlowNature;
+import jnpf.model.visualjson.FieLdsModel;
+import lombok.Data;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@Data
+public class NodeModel {
+
+ /**
+ * 鑺傜偣绫诲瀷
+ */
+ @Schema(description = "鑺傜偣绫诲瀷")
+ private String type;
+ /**
+ * 鑺傜偣id
+ */
+ @Schema(description = "鑺傜偣id")
+ private String nodeId;
+ /**
+ * 鑺傜偣鍚嶇О
+ */
+ @Schema(description = "鑺傜偣鍚嶇О")
+ private String nodeName;
+
+ /*------------- 鍏ㄥ眬 -------------*/
+ /**
+ * 鍙鐨勮繛绾块泦鍚堬紝鐢ㄤ簬鏉′欢鍒ゆ柇
+ */
+ private List<String> connectList = new ArrayList<>();
+ /**
+ * 鍏ㄥ眬鍙傛暟
+ */
+ @Schema(description = "鍏ㄥ眬鍙傛暟")
+ private List<FlowParamModel> globalParameterList = new ArrayList<>();
+ /**
+ * 鏍囬绫诲瀷 0锛氶粯璁� 1锛氳嚜瀹氫箟
+ */
+ @Schema(description = "鏍囬绫诲瀷")
+ private Integer titleType = FlowNature.TITLE_TYPE;
+ /**
+ * 榛樿鍚嶇О
+ */
+ @Schema(description = "榛樿鍚嶇О")
+ private String defaultContent = "{" + FlowConstant.USER_NAME + "}鐨剓" + FlowConstant.FLOW_NAME + "}";
+ /**
+ * 鑷畾涔夊悕绉�
+ */
+ @Schema(description = "鑷畾涔夊悕绉�")
+ private String titleContent;
+ /**
+ * 鍚敤绛惧悕
+ */
+ @Schema(description = "鍚敤绛惧悕")
+ private Boolean hasSign = false;
+ /**
+ * 鍏佽鎾ら攢
+ */
+ @Schema(description = "鍏佽鎾ら攢")
+ private Boolean hasRevoke = false;
+ /**
+ * 鍏佽璇勮
+ */
+ @Schema(description = "鍏佽璇勮")
+ private Boolean hasComment = true;
+ /**
+ * 鏄剧ず璇勮宸茶鍒犻櫎鎻愮ず
+ */
+ @Schema(description = "鏄剧ず璇勮宸茶鍒犻櫎鎻愮ず")
+ private Boolean hasCommentDeletedTips = true;
+ /**
+ * 瀹℃壒浠诲姟鏄惁绛炬敹
+ */
+ @Schema(description = "瀹℃壒浠诲姟鏄惁绛炬敹")
+ private Boolean hasSignFor = false;
+ /**
+ * 鍏佽瀹℃壒鑺傜偣鐙珛閰嶇疆琛ㄥ崟
+ */
+ @Schema(description = "鍏佽瀹℃壒鑺傜偣鐙珛閰嶇疆琛ㄥ崟")
+ private Boolean hasAloneConfigureForms = false;
+ /**
+ * 鎷掔粷鍚庡厑璁告祦绋嬬户缁祦杞鎵�
+ */
+ @Schema(description = "鎷掔粷鍚庡厑璁告祦绋嬬户缁祦杞鎵�")
+ private Boolean hasContinueAfterReject = false;
+ /**
+ * 鍏佽鍙戣捣浜哄褰撳墠閫炬湡鑺傜偣杩涜鍌姙
+ */
+ @Schema(description = "閫炬湡鑺傜偣鍌姙")
+ private Boolean hasInitiatorPressOverdueNode = true;
+ /**
+ * 鏍¢獙鍙戣捣鏉堥檺
+ */
+ @Schema(description = "鏍¢獙鍙戣捣鏉堥檺")
+ private Boolean hasPermission = false;
+ /**
+ * 鑷姩鎻愪氦瑙勫垯
+ */
+ @Schema(description = "鑷姩鎻愪氦瑙勫垯")
+ private AutoSubmitConfig autoSubmitConfig = new AutoSubmitConfig();
+ /**
+ * 娴佺▼鎾ゅ洖瑙勫垯 1: 涓嶅厑璁告挙鍥� 2: 鍙戣捣鑺傜偣鍏佽鎾ゅ洖 3:鎵�鏈夎妭鐐瑰厑璁告挙鍥�
+ */
+ @Schema(description = "娴佺▼鎾ゅ洖瑙勫垯")
+ private Integer recallRule = FlowNature.NOT_ALLOWED;
+ /**
+ * 寮傚父澶勭悊瑙勫垯 1锛氳秴绾х鐞嗗憳 2锛氭寚瀹氫汉鍛� 3锛氫笂涓�鑺傜偣瀹℃壒浜烘寚瀹� 4锛氶粯璁ゅ鎵归�氳繃 5锛氭棤娉曟彁浜�
+ */
+ @Schema(description = "寮傚父澶勭悊瑙勫垯")
+ private Integer errorRule = ErrorRuleEnum.ADMINISTRATOR.getCode();
+ /**
+ * 寮傚父澶勭悊鎸囧畾浜哄憳
+ */
+ @Schema(description = "寮傚父澶勭悊鎸囧畾浜哄憳")
+ private List<String> errorRuleUser = new ArrayList<>();
+ /**
+ * 娴佺▼褰掓。閰嶇疆
+ */
+ @Schema(description = "娴佺▼褰掓。閰嶇疆")
+ private FileConfig fileConfig = new FileConfig();
+
+ /*------------- 寮�濮� -------------*/
+ /**
+ * 娴佺▼琛ㄥ崟id
+ */
+ @Schema(description = "娴佺▼琛ㄥ崟id")
+ private String formId;
+ /**
+ * 娴佺▼琛ㄥ崟鍚嶇О
+ */
+ @Schema(description = "娴佺▼琛ㄥ崟鍚嶇О")
+ private String formName;
+ /**
+ * 娴佺▼琛ㄥ崟鏉冮檺
+ */
+ @Schema(description = "娴佺▼琛ㄥ崟鏉冮檺")
+ private List<Map<String, Object>> formOperates = new ArrayList<>();
+ /**
+ * 鍙戣捣鏉冮檺 1.鍏紑 2.鏉冮檺璁剧疆
+ */
+ @Schema(description = "鍙戣捣鏉冮檺 1.鍏紑 2.鏉冮檺璁剧疆")
+ private Integer launchPermission = FlowNature.LAUNCH_PERMISSION;
+ /**
+ * 鎵撳嵃閰嶇疆
+ */
+ @Schema(description = "鎵撳嵃閰嶇疆")
+ private PrintConfig printConfig = new PrintConfig();
+ /**
+ * 闄愭椂璁剧疆閰嶇疆
+ */
+ @Schema(description = "闄愭椂璁剧疆閰嶇疆")
+ private TimeConfig timeLimitConfig = new TimeConfig();
+ /**
+ * 鎻愰啋閰嶇疆
+ */
+ @Schema(description = "鎻愰啋閰嶇疆")
+ private TimeConfig noticeConfig = new TimeConfig();
+ /**
+ * 瓒呮椂璁剧疆
+ */
+ @Schema(description = "瓒呮椂璁剧疆")
+ private TimeConfig overTimeConfig = new TimeConfig();
+ /**
+ * 娴佺▼寰呭姙閫氱煡
+ */
+ @Schema(description = "娴佺▼寰呭姙閫氱煡")
+ public MsgConfig waitMsgConfig = new MsgConfig();
+ /**
+ * 娴佺▼缁撴潫閫氱煡
+ */
+ @Schema(description = "娴佺▼缁撴潫閫氱煡")
+ public MsgConfig endMsgConfig = new MsgConfig();
+ /**
+ * 鑺傜偣鍚屾剰閫氱煡
+ */
+ @Schema(description = "鑺傜偣鍚屾剰閫氱煡")
+ public MsgConfig approveMsgConfig = new MsgConfig();
+ /**
+ * 鑺傜偣鎷掔粷閫氱煡
+ */
+ @Schema(description = "鑺傜偣鎷掔粷閫氱煡")
+ public MsgConfig rejectMsgConfig = new MsgConfig();
+ /**
+ * 鑺傜偣閫�鍥為�氱煡
+ */
+ @Schema(description = "鑺傜偣閫�鍥為�氱煡")
+ public MsgConfig backMsgConfig = new MsgConfig();
+ /**
+ * 鑺傜偣鎶勯�侀�氱煡
+ */
+ @Schema(description = "鑺傜偣鎶勯�侀�氱煡")
+ public MsgConfig copyMsgConfig = new MsgConfig();
+ /**
+ * 鑺傜偣瓒呮椂閫氱煡
+ */
+ @Schema(description = "鑺傜偣瓒呮椂閫氱煡")
+ public MsgConfig overTimeMsgConfig = new MsgConfig();
+ /**
+ * 鑺傜偣鎻愰啋閫氱煡
+ */
+ @Schema(description = "鑺傜偣鎻愰啋閫氱煡")
+ public MsgConfig noticeMsgConfig = new MsgConfig();
+ /**
+ * 鑺傜偣鎻愰啋閫氱煡
+ */
+ @Schema(description = "璇勮鎻愰啋閫氱煡")
+ public MsgConfig commentMsgConfig = new MsgConfig();
+
+ /*------------- 鑷敱 -------------*/
+ /**
+ * 鑷缁撴潫
+ */
+ @Schema(description = "鑷缁撴潫")
+ private Boolean oneSelfEndApproval = true;
+
+ /**
+ * 娴佽浆娆℃暟
+ */
+ @Schema(description = "娴佽浆娆℃暟")
+ private Integer approvalNumber = 5;
+
+ /*------------- 瀹℃壒 -------------*/
+ /**
+ * 鏁版嵁浼犻��
+ */
+ @Schema(description = "鏁版嵁浼犻��")
+ private List<Assign> assignList = new ArrayList<>();
+ /**
+ * 鎸囧畾瀹℃壒浜�
+ */
+ @Schema(description = "鎸囧畾瀹℃壒浜�")
+ private Integer assigneeType = OperatorEnum.NOMINATOR.getCode();
+ /**
+ * 鏄惁鍊欓�変汉
+ */
+ @Schema(description = "鏄惁鍊欓�変汉")
+ private Boolean isCandidates = false;
+ /**
+ * 鐩村睘涓荤瀹℃壒浜虹被鍨嬶紝1.鍙戣捣浜� 2.涓婅妭鐐瑰鎵逛汉
+ */
+ private Integer approverType = FlowNature.INITIATOR;
+ /**
+ * 鍙戣捣鑰呬富绠� 1锛氱洿灞� 2锛氱浜岀骇涓荤 .... 10:绗�10绾т富绠�
+ */
+ @Schema(description = "鍙戣捣鑰呬富绠�")
+ private Integer managerLevel = 1;
+ /**
+ * 琛ㄥ崟瀛楁瀹℃牳鏂瑰紡鐨勭被鍨� 1锛氱敤鎴� 2锛氶儴闂� 3锛氬矖浣� 4锛氳鑹� 5锛氬垎缁�
+ */
+ @Schema(description = "琛ㄥ崟瀛楁瀹℃牳鏂瑰紡鐨勭被鍨�")
+ private Integer formFieldType = 1;
+ /**
+ * 琛ㄥ崟瀛楁
+ */
+ @Schema(description = "琛ㄥ崟瀛楁")
+ private String formField;
+ /**
+ * 瀹℃壒鑺傜偣id
+ */
+ @Schema(description = "瀹℃壒鑺傜偣id")
+ private String approverNodeId;
+ /**
+ * 瀹℃壒浜洪泦鍚�
+ */
+ @Schema(description = "瀹℃壒浜洪泦鍚�")
+ private List<String> approvers = new ArrayList<>();
+ /**
+ * 瀹℃壒浜轰緷娆″鎵归『搴�
+ */
+ @Schema(description = "瀹℃壒浜轰緷娆″鎵归『搴�")
+ private List<String> approversSortList = new ArrayList<>();
+ /**
+ * 閫愮骇瀹℃壒
+ */
+ @Schema(description = "閫愮骇瀹℃壒")
+ private ApproversConfig approversConfig = new ApproversConfig();
+ /**
+ * 瀹℃壒浜鸿寖鍥� 1:鏃犲鎵逛汉鑼冨洿 2:鍚屼竴閮ㄩ棬 3:鍚屼竴宀椾綅 4:鍙戣捣浜轰笂绾� 5:鍙戣捣浜轰笅灞� 6:鍚屼竴鍏徃
+ */
+ @Schema(description = "瀹℃壒浜鸿寖鍥�")
+ private Integer extraRule = ExtraRuleEnum.NONE.getCode();
+ /**
+ * 浼氱瑙勫垯 0锛氭垨绛� 1锛氫細绛� 2锛氫緷娆″鎵�
+ */
+ @Schema(description = "浼氱瑙勫垯")
+ private Integer counterSign = FlowNature.FIXED_APPROVER;
+ /**
+ * 浼氱娴佽浆閰嶇疆
+ */
+ @Schema(description = "浼氱娴佽浆閰嶇疆")
+ private CounterSignConfig counterSignConfig = new CounterSignConfig();
+ /**
+ * 鎶勯�佷汉闆嗗悎
+ */
+ @Schema(description = "鎶勯�佷汉闆嗗悎")
+ private List<String> circulateUser = new ArrayList<>();
+ /**
+ * 鎶勯�佷汉鑼冨洿
+ */
+ @Schema(description = "鎶勯�佷汉鑼冨洿")
+ private Integer extraCopyRule = ExtraRuleEnum.NONE.getCode();
+ /**
+ * 鍏佽鑷�夋妱閫佷汉
+ */
+ @Schema(description = "鍏佽鑷�夋妱閫佷汉")
+ private Boolean isCustomCopy = false;
+ /**
+ * 鎶勯�佺粰娴佺▼鍙戣捣浜�
+ */
+ @Schema(description = "鎶勯�佺粰娴佺▼鍙戣捣浜�")
+ private Boolean isInitiatorCopy = false;
+ /**
+ * 鎶勯�佺粰琛ㄥ崟鍙橀噺
+ */
+ @Schema(description = "鎶勯�佺粰琛ㄥ崟鍙橀噺")
+ private Boolean isFormFieldCopy = false;
+ /**
+ * 琛ㄥ崟瀛楁绫诲瀷 1锛氱敤鎴� 2锛氶儴闂� 3锛氬矖浣� 4锛氳鑹� 5锛氬垎缁�
+ */
+ @Schema(description = "琛ㄥ崟瀛楁绫诲瀷")
+ private Integer copyFormFieldType = 1;
+ /**
+ * 琛ㄥ崟瀛楁
+ */
+ @Schema(description = "琛ㄥ崟瀛楁")
+ private String copyFormField;
+ /**
+ *
+ */
+ @Schema(description = "")
+ private Boolean hasFile = false;
+ /**
+ * 鑺傜偣鍙傛暟
+ */
+ @Schema(description = "鑺傜偣鍙傛暟")
+ private List<GroupsModel> parameterList = new ArrayList<>();
+ /**
+ * 杈呭姪淇℃伅
+ */
+ @Schema(description = "杈呭姪淇℃伅")
+ private List<AuxiliaryInfo> auxiliaryInfo = new ArrayList<>();
+ /**
+ * 鑷姩鍚屾剰瑙勫垯,榛樿涓嶅惎鐢�
+ */
+ @Schema(description = "鑷姩鍚屾剰瑙勫垯,榛樿涓嶅惎鐢�")
+ private Boolean hasAutoApprover = false;
+ /**
+ * 鑷姩鍚屾剰瑙勫垯
+ */
+ @Schema(description = "鑷姩鍚屾剰瑙勫垯")
+ private AutoAuditRule autoAuditRule;
+ /**
+ * 鑷姩鎷掔粷瑙勫垯
+ */
+ @Schema(description = "鑷姩鎷掔粷瑙勫垯")
+ private AutoAuditRule autoRejectRule;
+
+ /**
+ * 閫氳繃鎸夐挳
+ */
+ @Schema(description = "閫氳繃鎸夐挳")
+ private Boolean hasAuditBtn = true;
+ /**
+ * 閫氳繃鎸夐挳鍚嶇О
+ */
+ @Schema(description = "閫氳繃鎸夐挳鍚嶇О")
+ private String auditBtnText = "鍚屾剰";
+ /**
+ * 鎷掔粷鎸夐挳
+ */
+ @Schema(description = "鎷掔粷鎸夐挳")
+ private Boolean hasRejectBtn = true;
+ /**
+ * 鎷掔粷鎸夐挳鍚嶇О
+ */
+ @Schema(description = "鎷掔粷鎸夐挳鍚嶇О")
+ private String rejectBtnText = "鎷掔粷";
+ /**
+ * 閫�鍥炴寜閽�
+ */
+ @Schema(description = "閫�鍥炴寜閽�")
+ private Boolean hasBackBtn = false;
+ /**
+ * 閫�鍥炴寜閽悕绉�
+ */
+ @Schema(description = "閫�鍥炴寜閽悕绉�")
+ private String backBtnText = "閫�鍥�";
+ /**
+ * 鍔犵鎸夐挳
+ */
+ @Schema(description = "鍔犵鎸夐挳")
+ private Boolean hasFreeApproverBtn = false;
+ /**
+ * 鍔犵鎸夐挳鍚嶇О
+ */
+ @Schema(description = "鍔犵鎸夐挳鍚嶇О")
+ private String freeApproverBtnText = "鍔犵";
+ /**
+ * 鍑忕鎸夐挳
+ */
+ @Schema(description = "鍑忕鎸夐挳")
+ private Boolean hasReduceApproverBtn = false;
+ /**
+ * 鍑忕鎸夐挳鍚嶇О
+ */
+ @Schema(description = "鍑忕鎸夐挳鍚嶇О")
+ private String reduceApproverBtnText = "鍑忕";
+ /**
+ * 杞鎸夐挳
+ */
+ @Schema(description = "杞鎸夐挳")
+ private Boolean hasTransferBtn = false;
+ /**
+ * 杞鎸夐挳鍚嶇О
+ */
+ @Schema(description = "杞鎸夐挳鍚嶇О")
+ private String transferBtnText = "杞";
+ /**
+ * 鍗忓姙鎸夐挳
+ */
+ @Schema(description = "鍗忓姙鎸夐挳")
+ private Boolean hasAssistBtn = false;
+ /**
+ * 鍗忓姙鎸夐挳鍚嶇О
+ */
+ @Schema(description = "鍗忓姙鎸夐挳鍚嶇О")
+ private String assistBtnText = "鍗忓姙";
+ /**
+ * 鏆傚瓨鎸夐挳
+ */
+ @Schema(description = "鏆傚瓨鎸夐挳")
+ private Boolean hasSaveAuditBtn = false;
+ /**
+ * 鏆傚瓨鎸夐挳鍚嶇О
+ */
+ @Schema(description = "鏆傚瓨鎸夐挳鍚嶇О")
+ private String saveAuditBtnText = "鏆傚瓨";
+ /**
+ * 鍒嗘祦瑙勫垯 inclusion: 鏍规嵁鏉′欢澶氬垎鏀祦杞�(鍖呭缃戝叧) exclusive:鏍规嵁鏉′欢鍗曞垎鏀祦杞紙鎺掑畠缃戝叧锛� parallel:鎵�鏈夊垎鏀兘娴佽浆锛堝苟琛岀綉鍏筹級
+ */
+ @Schema(description = "鍒嗘祦瑙勫垯")
+ private String divideRule = DivideRuleEnum.INCLUSION.getType();
+ /**
+ * 鎺ュ彛鏈嶅姟
+ */
+ @Schema(description = "鎺ュ彛鏈嶅姟")
+ private InterfaceConfig interfaceConfig = new InterfaceConfig();
+ /**
+ * 鍐呭
+ */
+ @Schema(description = "鍐呭")
+ private String content;
+ /**
+ * 瀛愭祦绋嬪彂璧锋潈闄�
+ */
+ @Schema(description = "瀛愭祦绋嬪彂璧锋潈闄�")
+ private Integer subFlowLaunchPermission = 1;
+ /**
+ * 閫�鍥炶缃紝琚��鍥炵殑鑺傜偣閲嶆柊鎻愪氦鏃�
+ */
+ private Integer backType = FlowNature.RESTART_TYPE;
+ /**
+ * 璁剧疆閫�鍥炲埌鐨勮妭鐐�
+ */
+ private String backNodeCode = FlowNature.START;
+
+
+ /*------------- 鍚屾绫诲瀷 -------------*/
+ /**
+ * 鍚屾绫诲瀷 0:鍚屾 1:寮傛
+ */
+ @Schema(description = "鍚屾绫诲瀷")
+ private Integer isAsync = FlowNature.CHILD_SYNC;
+
+ /*------------- 瀛愭祦绋� -------------*/
+ /**
+ * 鑷姩鎻愪氦 0:鍚� 1:鏄�
+ */
+ @Schema(description = "鑷姩鎻愪氦")
+ private Integer autoSubmit = 0;
+ /**
+ * 鑺傜偣鎻愰啋閫氱煡
+ */
+ @Schema(description = "鑺傜偣鎻愰啋閫氱煡")
+ public MsgConfig launchMsgConfig = new MsgConfig();
+ /**
+ * 娴佺▼鐗堟湰涓婚敭
+ */
+ @Schema(description = "娴佺▼鐗堟湰涓婚敭")
+ private String flowId;
+ /**
+ * 鍒涘缓瑙勫垯 0:鍚屾椂鍒涘缓 1:渚濇鍒涘缓
+ */
+ @Schema(description = "鍒涘缓瑙勫垯 0:鍚屾椂鍒涘缓 1:渚濇鍒涘缓")
+ private Integer createRule = FlowNature.CHILD_SYNC;
+
+ /*------------- 绾� -------------*/
+ /**
+ * 榛樿鍒嗘敮
+ */
+ @Schema(description = "榛樿鍒嗘敮")
+ private Boolean isDefault = false;
+ /**
+ * 杩炴帴绾挎潯浠�
+ */
+ @Schema(description = "杩炴帴绾挎潯浠�")
+ private List<ProperCond> conditions = new ArrayList<>();
+ /**
+ * 閫昏緫
+ */
+ @Schema(description = "閫昏緫")
+ private String matchLogic = SearchMethodEnum.AND.getSymbol();
+
+ /*--------------------------*/
+ /**
+ * 閫�鍥炰簨浠�
+ **/
+ @Schema(description = "閫�鍥炰簨浠�")
+ private FuncConfig backFuncConfig = new FuncConfig();
+ /**
+ * 鎷掔粷浜嬩欢
+ **/
+ @Schema(description = "鎷掔粷浜嬩欢")
+ private FuncConfig rejectFuncConfig = new FuncConfig();
+ /**
+ * 鍚屾剰浜嬩欢
+ **/
+ @Schema(description = "鍚屾剰浜嬩欢")
+ private FuncConfig approveFuncConfig = new FuncConfig();
+ /**
+ * 寮�濮嬩簨浠�
+ **/
+ @Schema(description = "寮�濮嬩簨浠�")
+ private FuncConfig initFuncConfig = new FuncConfig();
+ /**
+ * 缁撴潫浜嬩欢
+ **/
+ @Schema(description = "缁撴潫浜嬩欢")
+ private FuncConfig endFuncConfig = new FuncConfig();
+ /**
+ * 瓒呮椂浜嬩欢
+ **/
+ @Schema(description = "瓒呮椂浜嬩欢")
+ private FuncConfig overtimeFuncConfig = new FuncConfig();
+ /**
+ * 鎻愰啋浜嬩欢
+ */
+ @Schema(description = "鎻愰啋浜嬩欢")
+ private FuncConfig noticeFuncConfig = new FuncConfig();
+ /**
+ * 鑺傜偣鎾ゅ洖浜嬩欢
+ **/
+ @Schema(description = "鑺傜偣鎾ゅ洖浜嬩欢")
+ private FuncConfig recallFuncConfig = new FuncConfig();
+ /**
+ * 鍙戣捣鎾ゅ洖浜嬩欢
+ **/
+ @Schema(description = "鍙戣捣鎾ゅ洖浜嬩欢")
+ private FuncConfig flowRecallFuncConfig = new FuncConfig();
+
+ /*------------- 瑙﹀彂 -------------*/
+ /**
+ * 瑙﹀彂浜嬩欢 1-琛ㄥ崟浜嬩欢 2-瀹℃壒浜嬩欢 3-绌虹櫧浜嬩欢
+ */
+ @Schema(description = "瑙﹀彂浜嬩欢")
+ private Integer triggerEvent = 1;
+ /**
+ * 瑙﹀彂琛ㄥ崟浜嬩欢 1-鏂板 2-淇敼 3-鍒犻櫎
+ */
+ @Schema(description = "瑙﹀彂琛ㄥ崟浜嬩欢")
+ private Integer triggerFormEvent = 1;
+ /**
+ * 1-鍚屾剰 2-鎷掔粷 3-閫�鍥� 4-纭鍔炵悊
+ */
+ @Schema(description = "")
+ private List<Integer> actionList = new ArrayList<>();
+ /**
+ * 琛ㄥ崟浜嬩欢-淇敼鏁版嵁-淇敼瀛楁
+ */
+ @Schema(description = "")
+ private List<String> updateFieldList = new ArrayList<>();
+ /**
+ * 瑙﹀彂鏉′欢
+ */
+ @Schema(description = "瑙﹀彂鏉′欢")
+ private List<SuperQueryJsonModel> ruleList = new ArrayList<>();
+ /**
+ * 鏉′欢瑙勫垯鍖归厤閫昏緫
+ */
+ @Schema(description = "鏉′欢瑙勫垯鍖归厤閫昏緫")
+ private String ruleMatchLogic = SearchMethodEnum.AND.getSymbol();
+
+ /**
+ * 閫氱煡浜虹被鍨�
+ */
+ @Schema(description = "閫氱煡浜虹被鍨�")
+ private List<String> msgUserType = new ArrayList<>();
+ /**
+ * 鎵ц澶辫触閫氱煡
+ */
+ @Schema(description = "鎵ц澶辫触閫氱煡")
+ private MsgConfig failMsgConfig = new MsgConfig();
+ /**
+ * 寮�濮嬫墽琛岄�氱煡
+ */
+ @Schema(description = "寮�濮嬫墽琛岄�氱煡")
+ private MsgConfig startMsgConfig = new MsgConfig();
+ /**
+ * cron琛ㄨ揪寮�
+ */
+ @Schema(description = "cron琛ㄨ揪寮�")
+ private String cron;
+ /**
+ * 瑙﹀彂缁撴潫鏃堕棿绫诲瀷
+ */
+ @Schema(description = "瑙﹀彂缁撴潫鏃堕棿绫诲瀷")
+ private Integer endTimeType;
+ /**
+ * 瑙﹀彂娆℃暟
+ */
+ @Schema(description = "瑙﹀彂娆℃暟")
+ private Integer endLimit;
+ /**
+ * webhookUrl
+ */
+ @Schema(description = "webhookUrl")
+ private String webhookUrl;
+ /**
+ * webhook鑾峰彇鎺ュ彛瀛楁Url
+ */
+ @Schema(description = "webhook鑾峰彇鎺ュ彛瀛楁Url")
+ private String webhookGetFieldsUrl;
+ /**
+ * webhook鑾峰彇鎺ュ彛瀛楁璇嗗埆鐮�
+ */
+ @Schema(description = "webhook鑾峰彇鎺ュ彛瀛楁璇嗗埆鐮�")
+ private String webhookRandomStr;
+ /**
+ * 閫氱煡瑙﹀彂娑堟伅id
+ */
+ @Schema(description = "閫氱煡瑙﹀彂娑堟伅id")
+ private String noticeId;
+ /**
+ * 鍒嗙粍id
+ */
+ @Schema(description = "鍒嗙粍id")
+ private String groupId;
+
+ /*------------- 鑾峰彇鏁版嵁 -------------*/
+ /**
+ * 鑿滃崟id
+ */
+ private String id;
+ /**
+ * 琛ㄥ崟绫诲瀷 1-浠庤〃鍗曚腑鑾峰彇 2-浠庢祦绋嬩腑鑾峰彇 3-浠庢暟鎹帴鍙d腑鑾峰彇 4-浠庡瓙琛�
+ */
+ @Schema(description = "琛ㄥ崟绫诲瀷")
+ private Integer formType = 1;
+ /**
+ * 鎺ュ彛鍙傛暟
+ */
+ @Schema(description = "鎺ュ彛鍙傛暟")
+ private List<IntegrateTplModel> interfaceTemplateJson = new ArrayList<>();
+ /**
+ * 琛ㄥ崟瀛楁
+ */
+ @Schema(description = "琛ㄥ崟瀛楁")
+ private List<FieLdsModel> formFieldList = new ArrayList<>();
+ /**
+ * 鎺掑簭
+ */
+ @Schema(description = "鎺掑簭")
+ private List<SortModel> sortList = new ArrayList<>();
+
+ /*------------- 鏂板鏁版嵁 -------------*/
+ /**
+ * 瀛楁璁剧疆
+ */
+ @Schema(description = "瀛楁璁剧疆")
+ private List<TemplateJsonModel> transferList = new ArrayList<>();
+ /**
+ * 鏁版嵁婧�
+ */
+ @Schema(description = "鏁版嵁婧�")
+ private String dataSourceForm;
+
+ /*------------- 鏇存柊鏁版嵁 -------------*/
+ /**
+ * 娌℃湁鍙慨鏀圭殑鏁版嵁鏃讹紝鍚戝搴旇〃鍗曚腑鏂板涓�鏉℃暟鎹�
+ */
+ @Schema(description = "鏄惁鏂板鏁版嵁")
+ private Boolean unFoundRule = false;
+
+ /*------------- 鍒犻櫎鏁版嵁 -------------*/
+ /**
+ * 鍒犻櫎绫诲瀷
+ */
+ @Schema(description = "鍒犻櫎绫诲瀷")
+ private Integer deleteType;
+ /**
+ * 琛ㄧ被鍨� 0-涓昏〃 1-瀛愯〃
+ */
+ @Schema(description = "琛ㄧ被鍨�")
+ private Integer tableType;
+ /**
+ * 瀛愯〃
+ */
+ @Schema(description = "瀛愯〃")
+ private String subTable;
+ /**
+ * 鍒犻櫎鏉′欢 1-瀛樺湪 2-涓嶅瓨鍦�
+ */
+ @Schema(description = "鍒犻櫎鏉′欢")
+ private Integer deleteCondition;
+
+ /*------------- 鏁版嵁鎺ュ彛鑺傜偣 -------------*/
+ /**
+ * 鏁版嵁鎺ュ彛鍙傛暟
+ */
+ @Schema(description = "鏁版嵁鎺ュ彛鍙傛暟")
+ private List<IntegrateTplModel> templateJson = new ArrayList<>();
+
+ /*------------- 澶栭儴鑺傜偣 -------------*/
+ /**
+ * 澶栭儴鎺ュ彛鍙傛暟
+ */
+ @Schema(description = "澶栭儴鎺ュ彛鍙傛暟")
+ private Map<String, List<TemplateJsonModel>> outsideOptions = new HashMap<>();
+
+ /*------------- 娑堟伅閫氱煡鑺傜偣 -------------*/
+ /**
+ * 閫氱煡浜烘潵婧愮被鍨�
+ */
+ @Schema(description = "閫氱煡浜烘潵婧愮被鍨�")
+ private Integer msgUserIdsSourceType = FieldEnum.FIELD.getCode();
+ /**
+ * 閫氱煡浜�
+ */
+ @Schema(description = "閫氱煡浜�")
+ private List<String> msgUserIds = new ArrayList<>();
+ /**
+ * 娑堟伅id
+ */
+ @Schema(description = "娑堟伅id")
+ private String msgId;
+ /**
+ * 娑堟伅鍚嶇О
+ */
+ @Schema(description = "娑堟伅鍚嶇О")
+ private String msgName;
+ /**
+ * 娑堟伅鎺ュ彛鍙傛暟
+ */
+ @Schema(description = "娑堟伅鎺ュ彛鍙傛暟")
+ private List<IntegrateTplModel> msgTemplateJson = new ArrayList<>();
+
+ /*------------- 鍙戣捣瀹℃壒鑺傜偣 -------------*/
+ /**
+ * 鍙戣捣浜�
+ */
+ @Schema(description = "鍙戣捣浜�")
+ private List<String> initiator = new ArrayList<>();
+
+ /**
+ * 姣斾緥鍊�
+ */
+ @Schema(description = "姣斾緥鍊�")
+ private Integer completeRatio = 100;
+
+ /*------------- 鍒涘缓鏃ョ▼ -------------*/
+ /**
+ * 鏃ョ▼鏍囬
+ */
+ @Schema(description = "鏃ョ▼鏍囬")
+ private String title;
+ /**
+ * 鏃ョ▼鍐呭
+ */
+ @Schema(description = "鏃ョ▼鍐呭")
+ private String contents;
+ /**
+ * 鏃ョ▼闄勪欢
+ */
+ @Schema(description = "鏃ョ▼闄勪欢")
+ private String files;
+ /**
+ * 鏃ョ▼鍏ㄥぉ
+ */
+ @Schema(description = "鏃ョ▼鍏ㄥぉ")
+ private Integer allDay = 0;
+ /**
+ * 鏃ョ▼寮�濮嬫棩鏈�
+ */
+ @Schema(description = "鏃ョ▼寮�濮嬫棩鏈�")
+ private String startDay;
+ /**
+ * 鏃ョ▼寮�濮嬫椂闂�
+ */
+ @Schema(description = "鏃ョ▼寮�濮嬫椂闂�")
+ private String startTime;
+ /**
+ * 鏃ョ▼鏃堕暱
+ */
+ @Schema(description = "鏃ョ▼鏃堕暱")
+ private Integer duration = 0;
+ /**
+ * 鏃ョ▼缁撴潫鏃ユ湡
+ */
+ @Schema(description = "鏃ョ▼缁撴潫鏃ユ湡")
+ private String endDay;
+ /**
+ * 鏃ョ▼缁撴潫鏃堕棿
+ */
+ @Schema(description = "鏃ョ▼缁撴潫鏃堕棿")
+ private String endTime;
+ /**
+ * 鏃ョ▼鍒涘缓浜�
+ */
+ @Schema(description = "鏃ョ▼鍒涘缓浜�")
+ private String creatorUserId;
+ /**
+ * 鏃ョ▼鍙備笌浜�
+ */
+ @Schema(description = "鏃ョ▼鍙備笌浜�")
+ private List<String> toUserIds = new ArrayList<>();
+ /**
+ * 鏃ョ▼鏍囩棰滆壊
+ */
+ @Schema(description = "鏃ョ▼鏍囩棰滆壊")
+ private String color;
+ /**
+ * 鏃ョ▼鎻愰啋鏃堕棿
+ */
+ @Schema(description = "鏃ョ▼鎻愰啋鏃堕棿")
+ private Integer reminderTime = -1;
+ /**
+ * 鏃ョ▼鎻愰啋鏂瑰紡
+ */
+ @Schema(description = "鏃ョ▼鎻愰啋鏂瑰紡")
+ private Integer reminderType = 1;
+ /**
+ * 鏃ョ▼鍙戦�侀厤缃�
+ */
+ @Schema(description = "鏃ョ▼鍙戦�侀厤缃�")
+ private String send;
+ /**
+ * 鏃ョ▼鍙戦�侀厤缃悕绉�
+ */
+ @Schema(description = "鏃ョ▼鍙戦�侀厤缃悕绉�")
+ private String sendName;
+ /**
+ * 鏃ョ▼鍒嗙被
+ */
+ @Schema(description = "鏃ョ▼鍒嗙被")
+ private String category;
+ /**
+ * 鏃ョ▼閲嶅鎻愰啋1.涓嶉噸澶� 2.姣忓ぉ閲嶅 3.姣忓懆閲嶅 4.姣忔湀閲嶅 5.姣忓勾閲嶅
+ */
+ @Schema(description = "鏃ョ▼閲嶅鎻愰啋")
+ private Integer repetition = 1;
+ /**
+ * 鏃ョ▼缁撴潫閲嶅
+ */
+ @Schema(description = "鏃ョ▼缁撴潫閲嶅")
+ private Long repeatTime;
+ /**
+ * 鏃ョ▼寮�濮嬫椂闂寸被鍨�
+ */
+ @Schema(description = "寮�濮嬫椂闂寸被鍨�")
+ private Integer startDaySourceType = FieldEnum.FIELD.getCode();
+ /**
+ * 鏃ョ▼缁撴潫鏃堕棿绫诲瀷
+ */
+ @Schema(description = "缁撴潫鏃堕棿绫诲瀷")
+ private Integer endDaySourceType = FieldEnum.FIELD.getCode();
+ /**
+ * 鏃ョ▼鏍囬绫诲瀷
+ */
+ @Schema(description = "鏃ョ▼鏍囬绫诲瀷")
+ private Integer titleSourceType = FieldEnum.FIELD.getCode();
+ /**
+ * 鏃ョ▼鍐呭绫诲瀷
+ */
+ @Schema(description = "鏃ョ▼鍐呭绫诲瀷")
+ private Integer contentsSourceType = FieldEnum.FIELD.getCode();
+ /**
+ * 鏃ョ▼鍒涘缓浜虹被鍨�
+ */
+ @Schema(description = "鏃ョ▼鍒涘缓浜虹被鍨�")
+ private Integer creatorUserIdSourceType = FieldEnum.FIELD.getCode();
+ /**
+ * 鏃ョ▼鍙備笌浜虹被鍨�
+ */
+ @Schema(description = "鏃ョ▼鍙備笌浜虹被鍨�")
+ private Integer toUserIdsSourceType = FieldEnum.FIELD.getCode();
+
+}
--
Gitblit v1.8.0