We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,想冒昧请教一个问题,还望赐教! 在使用mybatis的generator插件时,生成model/mapper/dao时,在配置文件中都会设置一个targetPackage属性来指明包。 但是这样的结果就是所有的model或mapper或dao都在同一个包下,而我想要让每一个数据表所对应的model都在其独有的包下。 例如,假设我的数据库有admin和article这2张表,我想让generator生成的实体类Admin和Article分别在blog.admin.model和blog.article.model下,如下图所示,请问有解决的办法吗?
targetPackage
blog.admin.model
blog.article.model
还望能得到指教!!!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好,想冒昧请教一个问题,还望赐教!
在使用mybatis的generator插件时,生成model/mapper/dao时,在配置文件中都会设置一个
targetPackage
属性来指明包。但是这样的结果就是所有的model或mapper或dao都在同一个包下,而我想要让每一个数据表所对应的model都在其独有的包下。
例如,假设我的数据库有admin和article这2张表,我想让generator生成的实体类Admin和Article分别在
blog.admin.model
和blog.article.model
下,如下图所示,请问有解决的办法吗?还望能得到指教!!!
The text was updated successfully, but these errors were encountered: