ormat🥚 :优化代码

This commit is contained in:
wenjianzhang committed 2021-03-11 14:54:34 +08:00
1 parent 5353527e6c
commit a43413d1ff
15 files changed
-1554

No files matched your search

-27
View File
@@ -1,27 +0,0 @@
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
}