增加是否自动创建api入库的开关 可自动产生api入库

This commit is contained in:
QM303176530
2020-05-03 21:52:14 +08:00
parent 6ce439597b
commit 9510177350
2 changed files with 49 additions and 4 deletions
+5 -4
View File
@@ -2,10 +2,11 @@ package model
// 初始版本自动化代码工具
type AutoCodeStruct struct {
StructName string `json:"structName"`
PackageName string `json:"packageName"`
Abbreviation string `json:"abbreviation"`
Fields []Field `json:"fields"`
StructName string `json:"structName"`
PackageName string `json:"packageName"`
Abbreviation string `json:"abbreviation"`
AutoCreateApiToSql bool `json:"autoCreateApiToSql"`
Fields []Field `json:"fields"`
}
type Field struct {