工作流重新定义 以及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,18 @@
package dbModel
import (
"github.com/jinzhu/gorm"
"time"
)
//申请model 工作流实例
type Application struct {
gorm.Model
WorkFlowID string // 所属工作流ID
WorkFlowStepInfoID string // 当前节点ID
ApplicationName string // 申请人姓名
ApplicationCause string // 请假原因
ApplicationStartData time.Time // 请假开始日期
ApplicationEndData time.Time // 请假开始日期
}