mirror of
https://gitcode.com/flipped-aurora/gin-vue-admin.git
synced 2026-05-13 02:42:38 +00:00
代码生成器前端页面 后端基本字段 完成
This commit is contained in:
22
QMPlusServer/model/autoCodeModel/autoCode.go
Normal file
22
QMPlusServer/model/autoCodeModel/autoCode.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user