feat✨ :工作流分类
This commit is contained in:
1 parent
d8ebaf540b
commit
12be09b4d5
7 files changed
+460
-2
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user