代码生成器前端页面 后端基本字段 完成

This commit is contained in:
QM303176530
2020-03-22 23:18:22 +08:00
parent f01d15867e
commit 536ec20e79
3 changed files with 181 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
package autoCodeModel
type AutoCodeStruct struct {
StructName string `json:"structName"`
StructType []string `json:"structType"`
Components []Component `json:"components"`
}
type Component struct {
ComponentName string `json:"componentName"`
ComponentType string `json:"componentType"`
Ismultiple bool `json:"isMultiple"`
ComponentShowType string `json:"componentShowType"`
NideDictionary bool `json:"nideDictionary"`
DictionaryName string `json:"dictionaryName"`
ComponentDictionary []Dictionary `json:"dictionary"`
}
type Dictionary struct {
Label string `json:"label"`
Value string `json:"value"`
}