From d464513f8114e791c25f3b018b144b738fddea21 Mon Sep 17 00:00:00 2001 From: pixel <303176530@qq.com> Date: Tue, 27 Oct 2020 16:39:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/model/wf_process.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/model/wf_process.go b/server/model/wf_process.go index 5c030898..b036d01f 100644 --- a/server/model/wf_process.go +++ b/server/model/wf_process.go @@ -7,6 +7,7 @@ type WorkflowProcess struct { Clazz string `json:"clazz" gorm:"comment:类型"` Label string `json:"label" gorm:"comment:流程标题"` HideIcon bool `json:"hideIcon" gorm:"comment:是否隐藏图标"` + Description bool `json:"description" gorm:"comment:详细介绍"` Nodes []WorkflowNode `json:"nodes"` // 流程节点数据 Edges []WorkflowEdge `json:"edges"` // 流程链接数据 } @@ -18,6 +19,7 @@ type WorkflowNode struct { Label string `json:"label" gorm:"comment:节点名称"` Type string `json:"type" gorm:"comment:图标类型"` Shape string `json:"shape" gorm:"comment:形状"` + Description bool `json:"description" gorm:"comment:详细介绍"` X float64 `json:"y" gorm:"comment:x位置"` Y float64 `json:"x" gorm:"comment:y位置"` WaitState string `json:"waitState" gorm:"comment:等待属性"`