refactor🎨: 添加默认demo代码生成表

This commit is contained in:
zhangwenjian committed 2021-07-04 13:43:32 +08:00
1 parent b9b3cbee93
commit b6be297a1e
2 files changed
+13

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package models
type TbDemo struct {
Model
Name string `json:"name" gorm:"type:varchar(128);comment:名称"`
ModelTime
ControlBy
}
func (TbDemo) TableName() string {
return "tb_demo"
}