refactor: 生成代码重构优化
This commit is contained in:
@@ -16,9 +16,9 @@ import java.util.Map;
|
||||
* @since 2.11.0
|
||||
*/
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "generator")
|
||||
@ConfigurationProperties(prefix = "codegen")
|
||||
@Data
|
||||
public class GeneratorProperties {
|
||||
public class CodegenProperties {
|
||||
|
||||
|
||||
/**
|
||||
@@ -58,7 +58,7 @@ public class GeneratorProperties {
|
||||
public static class TemplateConfig {
|
||||
|
||||
/**
|
||||
* 模板路径 (e.g. /templates/generator/controller.java.vm)
|
||||
* 模板路径 (e.g. /templates/codegen/controller.java.vm)
|
||||
*/
|
||||
private String templatePath;
|
||||
|
||||
Reference in New Issue
Block a user