修改文件目录

This commit is contained in:
linwenxiang committed 2020-09-04 00:21:52 +08:00
1 parent 41b06c806a
commit 01ea376015
109 files changed
+180 -172

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
package models
type ControlBy struct {
CreateBy uint `gorm:"index;comment:'创建者'"`
UpdateBy uint `gorm:"index;comment:'更新者'"`
}
+11
View File
@@ -0,0 +1,11 @@
package models
import "gorm.io/gorm/schema"
type ActiveRecord interface {
schema.Tabler
SetCreateBy(createBy uint)
SetUpdateBy(updateBy uint)
Generate() ActiveRecord
GetId() interface{}
}