模块化变更
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package request
|
||||
|
||||
import "gin-vue-admin/model/request"
|
||||
|
||||
type SysAutoHistory struct {
|
||||
request.PageInfo
|
||||
}
|
||||
|
||||
type AutoHistoryByID struct {
|
||||
ID uint `json:"id"`
|
||||
}
|
||||
|
||||
type DBReq struct {
|
||||
Database string `json:"database" gorm:"column:database"`
|
||||
}
|
||||
|
||||
type TableReq struct {
|
||||
TableName string `json:"tableName"`
|
||||
}
|
||||
|
||||
type ColumnReq struct {
|
||||
ColumnName string `json:"columnName" gorm:"column:column_name"`
|
||||
DataType string `json:"dataType" gorm:"column:data_type"`
|
||||
DataTypeLong string `json:"dataTypeLong" gorm:"column:data_type_long"`
|
||||
ColumnComment string `json:"columnComment" gorm:"column:column_comment"`
|
||||
}
|
||||
Reference in New Issue
Block a user