mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-30 03:51:25 +08:00
工作流
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/XM-GO/PandaKit/model"
|
||||
)
|
||||
|
||||
// FlowWorkInfo 工作流信息
|
||||
type FlowWorkInfo struct {
|
||||
model.BaseAutoModel
|
||||
Name string `gorm:"column:name; type:varchar(128)" json:"name"` // 流程名称
|
||||
Icon string `gorm:"column:icon; type:varchar(128)" json:"icon" ` // 流程标签
|
||||
Structure json.RawMessage `gorm:"column:structure; type:json" json:"structure" ` // 流程结构
|
||||
Classify int `gorm:"column:classify; type:int" json:"classify"` // 分类ID
|
||||
SubmitCount int `gorm:"column:submit_count; type:int; default:0" json:"submitCount"` // 提交统计
|
||||
Creator int `gorm:"column:creator; type:int" json:"creator"` // 创建者
|
||||
Remarks string `gorm:"column:remarks; type:varchar(1024)" json:"remarks"` // 流程备注
|
||||
Name string `gorm:"column:name; type:varchar(128)" json:"name"` // 流程名称
|
||||
Icon string `gorm:"column:icon; type:varchar(128)" json:"icon" ` // 流程标签
|
||||
Structure model.JSONB `gorm:"column:structure; type:json" json:"structure" ` // 流程结构
|
||||
FormStructure model.JSONB `gorm:"column:structure; type:json" json:"structure" ` // 表单结构
|
||||
Classify int `gorm:"column:classify; type:int" json:"classify"` // 分类ID
|
||||
SubmitCount int `gorm:"column:submit_count; type:int; default:0" json:"submitCount"` // 提交统计
|
||||
Creator int `gorm:"column:creator; type:int" json:"creator"` // 创建者
|
||||
Cc int `gorm:"column:cc; type:int" json:"cc"` // 抄送人
|
||||
Remarks string `gorm:"column:remarks; type:varchar(1024)" json:"remarks"` // 流程备注
|
||||
}
|
||||
|
||||
func (FlowWorkInfo) TableName() string {
|
||||
|
||||
Reference in New Issue
Block a user