1、在IDEA中Setting—>Plugins搜索EasyCode下载插件

IDEA使用EasyCode插件自动生成代码

如果搜索不到想要下载的插件,请查看 IDEA下载插件找不到解决方法


2、点击Database添加数据库

IDEA使用EasyCode插件自动生成代码


3、配置数据库信息

IDEA使用EasyCode插件自动生成代码

如果下载的是mysql8以上的版本,都需要添加 ?serverTimezone=UTC


4、选择一个表,右键选择Generate Code

IDEA使用EasyCode插件自动生成代码


5、进行选择配置自动添加的代码

IDEA使用EasyCode插件自动生成代码


6、查看自动添加的代码目录

IDEA使用EasyCode插件自动生成代码


7、大功告成,还需其他的代码就需要自己手动添加或是配置了

相关文章:

  • 2021-12-02
  • 2021-10-18
  • 2022-01-17
  • 2021-08-01
  • 2022-01-06
  • 2022-12-23
  • 2021-04-05
  • 2021-05-28
猜你喜欢
  • 2021-08-09
  • 2021-09-29
  • 2021-06-26
  • 2021-06-28
  • 2021-11-05
  • 2021-07-07
  • 2021-09-21
相关资源
相似解决方案