refactor: 目录重构之后包名取值调整,添加默认包名

This commit is contained in:
ray
2024-09-01 10:29:28 +08:00
parent 177adad357
commit ea0db128a2
3 changed files with 28 additions and 11 deletions

View File

@@ -57,8 +57,14 @@ public class GeneratorProperties {
@Data
public static class TemplateConfig {
/**
* 模板路径 (e.g. /templates/generator/controller.java.vm)
*/
private String templatePath;
/**
* 子包名 (e.g. controller/service/mapper/model)
*/
private String subpackageName;
/**
@@ -74,8 +80,16 @@ public class GeneratorProperties {
@Data
public static class DefaultConfig {
/**
* 作者 (e.g. Ray)
*/
private String author;
/**
* 默认模块名(e.g. system)
*/
private String moduleName;
}