siwei-gen-dev.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # spring配置
  2. spring:
  3. redis:
  4. host: 192.168.60.221
  5. port: 6379
  6. password:
  7. datasource:
  8. driver-class-name: org.postgresql.Driver
  9. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  10. username: postgres
  11. password: postgis
  12. # mybatis配置
  13. mybatis:
  14. # 搜索指定包别名
  15. typeAliasesPackage: com.siwei.gen.domain
  16. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  17. mapperLocations: classpath:mapper/postgresql/**/*.xml
  18. # springdoc配置
  19. springdoc:
  20. gatewayUrl: http://localhost:8080/${spring.application.name}
  21. api-docs:
  22. # 是否开启接口文档
  23. enabled: true
  24. info:
  25. # 标题
  26. title: 代码生成接口文档
  27. # 描述
  28. description: 代码生成接口描述
  29. # 作者信息
  30. contact:
  31. name: RuoYi
  32. url: https://ruoyi.vip
  33. # 代码生成
  34. gen:
  35. # 作者
  36. author: siwei
  37. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  38. packageName: com.siwei.system
  39. # 自动去除表前缀,默认是false
  40. autoRemovePre: false
  41. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  42. tablePrefix: sys_
  43. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  44. allowOverwrite: false