diff --git a/proto/dbm.go b/proto/dbm.go index b9a6146..db3da16 100644 --- a/proto/dbm.go +++ b/proto/dbm.go @@ -102,3 +102,12 @@ type GetDBTableDescReq struct { Table string `json:"table" form:"table"` // 数据库表名 GetType int `json:"get_type" form:"get_type"` // 获取类型: 0获取全部,1获取1个 } + +type GetDBTableDescResp struct { + TableName string `json:"table_name"` // 表名 +} + +type DBTableAttribute struct { + ColumnName string `json:"column_name"` // 列名 + ColumnType string `json:"column_type"` // 列类型 +}