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.
24 lines
843 B
24 lines
843 B
package model
|
|
|
|
// 初始版本自动化代码工具
|
|
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"`
|
|
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"`
|
|
}
|