add column support

支持列名导出
This commit is contained in:
xxj
2020-12-09 12:53:59 +08:00
parent 3516c2b4a5
commit bceb63b951
6 changed files with 54 additions and 6 deletions

View File

@@ -123,6 +123,7 @@ func (m *_Model) genTableElement(cols []ColumnsInfo) (el []genstruct.GenElement)
}
tmp.ColumnName = v.Name // 列名
el = append(el, tmp)
// ForeignKey