This commit is contained in:
DowneyL
2021-12-24 16:15:07 +08:00
parent dff30a5651
commit 91d0a9b24a
3 changed files with 29 additions and 18 deletions

View File

@@ -16,8 +16,9 @@ is_gui : false # 是否ui模式显示
is_table_name : true # 是否直接生成表名
is_column_name : true # 是否直接生成列名
is_null_to_point : false # 数据库默认 'DEFAULT NULL' 时设置结构为指针类型
table_prefix : "" # 表前缀, 如果有则使用, 没有留空
table_prefix : "" # 表前缀, 如果有则使用, 没有留空(如果表前缀以"-"开头则表示去掉该前缀struct、文件名都会去掉该前缀)
table_names: "" # 指定表生成,多个表用,隔开
is_out_file_by_table_name: false # 是否根据表名生成多个model
db_info:
host : 127.0.0.1 # type=1的时候host为yml文件全路径