增加指定表model生成功能

This commit is contained in:
yanjiangtao
2021-03-30 18:05:36 +08:00
parent c29e59cf77
commit d6f49c5cce
8 changed files with 111 additions and 14 deletions

View File

@@ -65,6 +65,11 @@ func (m *sqliteModel) GetDbName() string {
return dbName
}
// GetTableNames get table name.获取指定的表名
func (m *sqliteModel) GetTableNames() string {
return config.GetTableNames()
}
// GetPkgName package names through config outdir configuration.通过config outdir 配置获取包名
func (m *sqliteModel) GetPkgName() string {
dir := config.GetOutDir()