Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzercn committed Aug 21, 2017
1 parent 4d0fef9 commit 62a880a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wk-wiki/04.Code/04.02.Generator.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 代码生成器
* IDEA Settings --> Plugins --> Install plugin from disk --> wk-code-ideaplugin.jar
* 创建实体类,必须有@Table,若字段需生成到模板页面则需加 @Comment 字段备注(注意命名规范和大小写)
* 编译wk-web项目,使其打包发布至 target/ 目录(让代码生成器可读取到class文件)
* 编译wk-web项目,使其打包发布至 target/ 目录(目的是让代码生成器可读取到class文件)
* 在实体类里鼠标右击,Code(Alt+Insert/Mouse Right) --> Generate --> wk mvc

![IDEA插件截图](../images/09.png)

0 comments on commit 62a880a

Please sign in to comment.