feat✨ :工作流分类

This commit is contained in:
zhangwenjian committed 2021-02-26 16:15:35 +08:00
1 parent d8ebaf540b
commit 12be09b4d5
7 files changed
+460 -2

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
package models
import (
// "gorm.io/gorm"
"go-admin/common/models"
)
type WfProcessClassify struct {
models.Model
models.ControlBy
Name string `json:"name" gorm:"type:varchar(255);comment:名称"`
}
func (WfProcessClassify) TableName() string {
return "wf_process_classify"
}
func (e *WfProcessClassify) Generate() models.ActiveRecord {
o := *e
return &o
}
func (e *WfProcessClassify) GetId() interface{} {
return e.Id
}