修改配置

This commit is contained in:
暮光:城中城
2019-01-24 20:10:29 +08:00
committed by zhanghongli
parent 8c58e27196
commit ec88d3843d

View File

@@ -35,13 +35,13 @@ zyplayer:
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
#实体扫描多个package用逗号或者分号分隔
typeAliasesPackage: com.baomidou.springboot.entity
typeEnumsPackage: com.baomidou.springboot.entity.enums
typeAliasesPackage: com.zyplayer.doc.manage.repository.manage.entity
typeEnumsPackage:
global-config:
# 数据库相关配置
db-config:
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
id-type: id_worker
id-type: AUTO
#字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
field-strategy: not_empty
#驼峰下划线转换