sys_autocode.go 562 字节
Newer Older
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1 2
package request

S
songzhibin97 已提交
3 4 5 6 7 8 9 10
type SysAutoHistory struct {
	PageInfo
}

type AutoHistoryByID struct {
	ID uint `json:"id"`
}

Mr.奇淼('s avatar
Mr.奇淼( 已提交
11
type DBReq struct {
12
	Database string `json:"database" gorm:"column:database"`
Mr.奇淼('s avatar
Mr.奇淼( 已提交
13 14 15 16 17 18
}

type TableReq struct {
	TableName string `json:"tableName"`
}

19 20 21 22 23
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"`
Mr.奇淼('s avatar
Mr.奇淼( 已提交
24
}