123456789101112131415161718192021222324252627282930 |
- package model
- import "errors"
- // 初始版本自动化代码工具
- type AutoCodeStruct struct {
- StructName string `json:"structName"`
- TableName string `json:"tableName"`
- PackageName string `json:"packageName"`
- Abbreviation string `json:"abbreviation"`
- Description string `json:"description"`
- AutoCreateApiToSql bool `json:"autoCreateApiToSql"`
- AutoMoveFile bool `json:"autoMoveFile"`
- Fields []*Field `json:"fields"`
- }
- type Field struct {
- FieldName string `json:"fieldName"`
- FieldDesc string `json:"fieldDesc"`
- FieldType string `json:"fieldType"`
- FieldJson string `json:"fieldJson"`
- DataType string `json:"dataType"`
- DataTypeLong string `json:"dataTypeLong"`
- Comment string `json:"comment"`
- ColumnName string `json:"columnName"`
- FieldSearchType string `json:"fieldSearchType"`
- DictType string `json:"dictType"`
- }
- var AutoMoveErr error = errors.New("创建代码成功并移动文件成功")
|