autoCode.go 726 B

12345678910111213141516171819202122
  1. package autoCodeModel
  2. //开发中功能,若您发现这块代码可以研究,可以无视
  3. type AutoCodeStruct struct {
  4. StructName string `json:"structName"`
  5. Components []Component `json:"components"`
  6. }
  7. type Component struct {
  8. ComponentName string `json:"componentName"`
  9. ComponentType string `json:"componentType"`
  10. Ismultiple bool `json:"isMultiple"`
  11. ComponentShowType string `json:"componentShowType"`
  12. NideDictionary bool `json:"nideDictionary"`
  13. DictionaryName string `json:"dictionaryName"`
  14. ComponentDictionary []Dictionary `json:"dictionary"`
  15. }
  16. type Dictionary struct {
  17. Label string `json:"label"`
  18. Value string `json:"value"`
  19. }