You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
885 B

  1. package model
  2. // 初始版本自动化代码工具
  3. type AutoCodeStruct struct {
  4. StructName string `json:"structName"`
  5. TableName string `json:"tableName"`
  6. PackageName string `json:"packageName"`
  7. Abbreviation string `json:"abbreviation"`
  8. Description string `json:"description"`
  9. AutoCreateApiToSql bool `json:"autoCreateApiToSql"`
  10. Fields []Field `json:"fields"`
  11. }
  12. type Field struct {
  13. FieldName string `json:"fieldName"`
  14. FieldDesc string `json:"fieldDesc"`
  15. FieldType string `json:"fieldType"`
  16. FieldJson string `json:"fieldJson"`
  17. DataType string `json:"dataType"`
  18. DataTypeLong string `json:"dataTypeLong"`
  19. Comment string `json:"comment"`
  20. ColumnName string `json:"columnName"`
  21. FieldSearchType string `json:"fieldSearchType"`
  22. DictType string `json:"dictType"`
  23. }