
- pgsql 获取表名, 获取表字段(todo), 获取数据库名 refactor: - 自动化代码与自动化代码历史 代码规范化 - mysql 获取表名, 获取表字段, 获取数据库名 - enter 代码优化
14 lines
524 B
Go
14 lines
524 B
Go
package response
|
|
|
|
import "time"
|
|
|
|
type AutoCodeHistory struct {
|
|
ID uint `json:"ID" gorm:"column:id"`
|
|
CreatedAt time.Time `json:"CreatedAt" gorm:"column:created_at"`
|
|
UpdatedAt time.Time `json:"UpdatedAt" gorm:"column:updated_at"`
|
|
TableName string `json:"tableName" gorm:"column:table_name"`
|
|
StructName string `json:"structName" gorm:"column:struct_name"`
|
|
StructCNName string `json:"structCNName" gorm:"column:struct_cn_name"`
|
|
Flag int `json:"flag" gorm:"column:flag"`
|
|
}
|