mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-24 03:18:35 +08:00
24 lines
1.2 KiB
Go
24 lines
1.2 KiB
Go
package entity
|
|
|
|
import (
|
|
"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 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 {
|
|
return "flow_work_info"
|
|
}
|