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.

18 lines
544 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. AutoCreateApiToSql bool `json:"autoCreateApiToSql"`
  8. Fields []Field `json:"fields"`
  9. }
  10. type Field struct {
  11. FieldName string `json:"fieldName"`
  12. FieldDesc string `json:"fieldDesc"`
  13. FieldType string `json:"fieldType"`
  14. FieldJson string `json:"fieldJson"`
  15. ColumnName string `json:"columnName"`
  16. }