修改文件目录
This commit is contained in:
1 parent
41b06c806a
commit
01ea376015
109 files changed
+180
-172
No files matched your search
@@ -0,0 +1,6 @@
|
||||
package models
|
||||
|
||||
type ControlBy struct {
|
||||
CreateBy uint `gorm:"index;comment:'创建者'"`
|
||||
UpdateBy uint `gorm:"index;comment:'更新者'"`
|
||||
}
|
||||
@@ -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{}
|
||||
}
|
||||
Reference in new issue
Block a user