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.

21 lines
708 B

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