How to use the MybatisX plugin to create entity classes

When your database has been established, we can use the MybatisX plugin to create entity classes

 1. File-settings select markteplace to find the little blue bird MyBatisX 

If you add this plugin, pom reports an error

so you

next. Click DataBase on the right sidebar to join MySQL

 

dd

 

 

 

Click on the database, right click on the table

 module path To select the corresponding module, if it cannot be selected, manually paste the module name into it

 

 ok 

 Remember to mark the annotation of the scan package on the startup class

ok!

Guess you like

Origin blog.csdn.net/tomorrow9813/article/details/131573151