autoCode.go 770 B

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