|
@@ -41,6 +41,11 @@ public class StrategyConfig {
|
|
*/
|
|
*/
|
|
private boolean isCapitalMode = false;
|
|
private boolean isCapitalMode = false;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 是否跳过视图
|
|
|
|
+ */
|
|
|
|
+ private boolean skipView = false;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 数据库表映射到实体的命名策略
|
|
* 数据库表映射到实体的命名策略
|
|
*/
|
|
*/
|
|
@@ -91,7 +96,7 @@ public class StrategyConfig {
|
|
*/
|
|
*/
|
|
private String superControllerClass;
|
|
private String superControllerClass;
|
|
|
|
|
|
- /*
|
|
|
|
|
|
+ /**
|
|
* 需要包含的表名(与exclude二选一配置)
|
|
* 需要包含的表名(与exclude二选一配置)
|
|
*/
|
|
*/
|
|
private String[] include = null;
|
|
private String[] include = null;
|
|
@@ -207,6 +212,15 @@ public class StrategyConfig {
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public boolean isSkipView() {
|
|
|
|
+ return skipView;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public StrategyConfig setSkipView(boolean skipView) {
|
|
|
|
+ this.skipView = skipView;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
public NamingStrategy getNaming() {
|
|
public NamingStrategy getNaming() {
|
|
return naming;
|
|
return naming;
|
|
}
|
|
}
|