mybatis-boot-generator-autoconfigure
mybatis plus spring-boot generator autoconfigure
use spring boot autoconfigure to replace code configure.
Usage
<groupId>com.github.odinysus</groupId>
<artifactId>mybatis-boot-generator-autoconfigure</artifactId>
<version>0.0.1</version>
all generator configure is under mybatis.gen
.
fewest config like this:
mybatis:
gen:
datasource:
url: jdbc:mysql://localhost:3306/database?useSSL=false
username: root
password:
strategy:
include:
- user // table you want to generate