autoCode.go 698 B

12345678910111213141516171819202122
  1. package autoCodeModel
  2. type AutoCodeStruct struct {
  3. StructName string `json:"structName"`
  4. StructType []string `json:"structType"`
  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. }