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.

26 lines
935 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. AutoMoveFile bool `json:"autoMoveFile"`
  11. Fields []Field `json:"fields"`
  12. }
  13. type Field struct {
  14. FieldName string `json:"fieldName"`
  15. FieldDesc string `json:"fieldDesc"`
  16. FieldType string `json:"fieldType"`
  17. FieldJson string `json:"fieldJson"`
  18. DataType string `json:"dataType"`
  19. DataTypeLong string `json:"dataTypeLong"`
  20. Comment string `json:"comment"`
  21. ColumnName string `json:"columnName"`
  22. FieldSearchType string `json:"fieldSearchType"`
  23. DictType string `json:"dictType"`
  24. }