mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-26 21:09:36 +08:00
flow
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/XM-GO/PandaKit/model"
|
||||
)
|
||||
|
||||
// FlowWorkTemplates 工作流表单模板
|
||||
type FlowWorkTemplates struct {
|
||||
model.BaseAutoModel
|
||||
Name string `gorm:"column:name; type: varchar(128)" json:"name" binding:"required"` // 模板名称
|
||||
FormStructure json.RawMessage `gorm:"column:form_structure; type: json" json:"form_structure" binding:"required"` // 表单结构
|
||||
Creator int `gorm:"column:creator; type: int(11)" json:"creator"` // 创建者
|
||||
Remarks string `gorm:"column:remarks; type: longtext" json:"remarks"` // 备注
|
||||
Name string `gorm:"column:name; type: varchar(128)" json:"name" binding:"required"` // 模板名称
|
||||
FormStructure model.JSONB `gorm:"column:form_structure; type: json" json:"form_structure"` // 表单结构
|
||||
Creator int `gorm:"column:creator; type: int" json:"creator"` // 创建者
|
||||
Remarks string `gorm:"column:remarks; type: text" json:"remarks"` // 备注
|
||||
}
|
||||
|
||||
func (FlowWorkTemplates) TableName() string {
|
||||
|
||||
Reference in New Issue
Block a user