工作流重新定义 以及create路由开发

This commit is contained in:
pixel
2019-11-20 15:45:07 +08:00
parent 6008ab01d5
commit a58e3d6801
10 changed files with 319 additions and 28 deletions

View File

@@ -0,0 +1,14 @@
package dbModel
import "github.com/jinzhu/gorm"
// 工作流流转表
type WorkFlowProcess struct {
gorm.Model
ApplicationID uint // 当前工作流所属申请的ID
CurrentNode string // 当前进度节点
HistoricalNode string //上一个进度节点
CurrentUser string // 当前进度操作人
HistoricalUser string // 上一个进度的操作人
State bool // 状态 是否是正在进行的状态
}