mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-25 03:48:35 +08:00
[新增] 新增工作流
This commit is contained in:
14
apps/flow/entity/work_classify.go
Normal file
14
apps/flow/entity/work_classify.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package entity
|
||||
|
||||
import "github.com/XM-GO/PandaKit/model"
|
||||
|
||||
// FlowWorkClassify 工作流流程分类
|
||||
type FlowWorkClassify struct {
|
||||
model.BaseAutoModel
|
||||
Name string `gorm:"column:name; type: varchar(128)" json:"name"` // 分类名称
|
||||
Creator int `gorm:"column:creator; type: int(11)" json:"creator"` // 创建者
|
||||
}
|
||||
|
||||
func (FlowWorkClassify) TableName() string {
|
||||
return "flow_work_classify"
|
||||
}
|
||||
Reference in New Issue
Block a user