feature: model是否使用gorm.Model

This commit is contained in:
zhang.tiancheng
2021-12-08 16:51:13 +08:00
parent 70b372293d
commit 5d1bfbad59
6 changed files with 20 additions and 12 deletions

View File

@@ -32,12 +32,13 @@ var _map = Config{
Password: "root",
Database: "test",
},
OutDir: "./model",
URLTag: "json",
Language: "中 文",
DbTag: "gorm",
Simple: false,
IsWEBTag: false,
OutDir: "./model",
URLTag: "json",
Language: "中 文",
DbTag: "gorm",
UserGormModel: false,
Simple: false,
IsWEBTag: false,
// SingularTable: true,
IsForeignKey: true,
IsOutSQL: false,