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

目录

 

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(实际的列名)

 

 

 

 

posted on 2021-05-22 23:52  小石头小祖宗  阅读(78)  评论(0)    收藏  举报  来源

导航