This commit is contained in:
2025-08-04 09:29:27 +08:00
parent a826d55b54
commit e641970377
5 changed files with 86 additions and 38 deletions

View File

@@ -267,7 +267,7 @@
"/**",
" * Entity 和 Info 的父类",
" * ",
" * @author ZhouXY",
" * @author ZhouXY108 <luquanlion@outlook.com>",
" */",
"public abstract class BaseDomain implements Serializable {",
"\tprotected Long id;",
@@ -304,7 +304,7 @@
"/**",
" * ${5:ModuleShortName}${7:Entity} 的基本属性",
" * ",
" * @author ZhouXY",
" * @author ZhouXY108 <luquanlion@outlook.com>",
" */",
"public class ${5:ModuleShortName}${7:Entity}Info extends BaseDomain {",
"\tprivate String username;",
@@ -352,7 +352,7 @@
"/**",
" * 查询参数的基本属性",
" * ",
" * @author ZhouXY",
" * @author ZhouXY108 <luquanlion@outlook.com>",
" */",
"public abstract class BaseQueryParams {",
"\tprotected Long id;",
@@ -383,7 +383,7 @@
"/**",
" * ${5:ModuleShortName}${7:Entity} 的查询参数",
" * ",
" * @author ZhouXY",
" * @author ZhouXY108 <luquanlion@outlook.com>",
" */",
"public class ${5:ModuleShortName}${7:Entity}Query extends BaseQueryParams {",
"\tprivate String email;",
@@ -407,7 +407,7 @@
"/**",
" * ${5:ModuleShortName}${7:Entity} 实体",
" *",
" * @author ZhouXY",
" * @author ZhouXY108 <luquanlion@outlook.com>",
" */",
"public class ${5:ModuleShortName}${7:Entity} extends BaseDomain {",
"\tprivate String username;",
@@ -533,7 +533,7 @@
"/**",
" * BaseEntityBuilder",
" * ",
" * @author ZhouXY",
" * @author ZhouXY108 <luquanlion@outlook.com>",
" */",
"public abstract class BaseEntityBuilder<E extends BaseDomain> {",
"",