Files
PandaX/apps/flow/entity/work_order_templates.go
PandaGoAdmin a0084f21c6 工作流
2023-03-31 13:50:47 +08:00

18 lines
581 B
Go

package entity
import (
"github.com/XM-GO/PandaKit/model"
)
// FlowWorkOrderTemplate 工单绑定模版数据
type FlowWorkOrderTemplate struct {
model.BaseAutoModel
WorkOrder int `gorm:"column:work_order; type: int" json:"work_order"` // 工单ID
FormStructure model.JSONB `gorm:"column:form_structure; type: json" json:"form_structure"` // 表单结构
FormData model.JSONB `gorm:"column:form_data; type: json" json:"form_data"` // 表单数据
}
func (FlowWorkOrderTemplate) TableName() string {
return "flow_work_order_templates"
}