refactor: 代码生成支持排除指定表
This commit is contained in:
@@ -6,6 +6,7 @@ import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
@@ -30,7 +31,6 @@ public class GeneratorProperties {
|
||||
*/
|
||||
private Map<String, TemplateConfig> templateConfigs = MapUtil.newHashMap(true);
|
||||
|
||||
|
||||
/**
|
||||
* 后端应用名
|
||||
*/
|
||||
@@ -42,6 +42,11 @@ public class GeneratorProperties {
|
||||
*/
|
||||
private String frontendAppName;
|
||||
|
||||
/**
|
||||
* 排除数据表
|
||||
*/
|
||||
private List<String> excludeTables;
|
||||
|
||||
/**
|
||||
* 模板配置
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user