目录

 

1、Free Mybatis plugin 安装

2 mybatis-generator使用

2.1 选项说明汇总

2.2 我的默认配置

2.3选项详细说明

toString/hashCode/equals,不要建议使用,建议使用lombok

use-Lombox

Repository注解

JSR310 Date and Time

JPA注解(一般hibernate用)

swagger

use Alias 其用别名 

Actual-Column(实际的列名)


 

1、Free Mybatis plugin 安装

2 mybatis-generator使用

先连接数据库,然后在表上右键

 

2.1 选项说明汇总

2.2 我的默认配置

 

2.3选项详细说明

toString/hashCode/equals,不要建议使用,建议使用lombok

use-Lombox

Repository注解

JSR310 Date and Time

JPA注解(一般hibernate用)

swagger

use Alias 其用别名 

Actual-Column(实际的列名)

 

 

 

 

更多推荐

IDEA的Free Mybatis plugin插件mybatis-generator使用,选项说明