mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
style: 调整私有构造器位置。
This commit is contained in:
parent
86284b932a
commit
95a474847d
@ -23,6 +23,9 @@ package com.mybatisflex.codegen.constant;
|
|||||||
*/
|
*/
|
||||||
public class GenTypeConst {
|
public class GenTypeConst {
|
||||||
|
|
||||||
|
private GenTypeConst() {
|
||||||
|
}
|
||||||
|
|
||||||
public static final String ENTITY = "entity";
|
public static final String ENTITY = "entity";
|
||||||
public static final String MAPPER = "mapper";
|
public static final String MAPPER = "mapper";
|
||||||
public static final String SERVICE = "service";
|
public static final String SERVICE = "service";
|
||||||
@ -32,8 +35,4 @@ public class GenTypeConst {
|
|||||||
public static final String MAPPER_XML = "mapperXml";
|
public static final String MAPPER_XML = "mapperXml";
|
||||||
public static final String PACKAGE_INFO = "package-info";
|
public static final String PACKAGE_INFO = "package-info";
|
||||||
|
|
||||||
|
|
||||||
private GenTypeConst() {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -24,6 +24,9 @@ package com.mybatisflex.codegen.constant;
|
|||||||
*/
|
*/
|
||||||
public final class TemplateConst {
|
public final class TemplateConst {
|
||||||
|
|
||||||
|
private TemplateConst() {
|
||||||
|
}
|
||||||
|
|
||||||
public static final String ENTITY = "/templates/enjoy/entity.tpl";
|
public static final String ENTITY = "/templates/enjoy/entity.tpl";
|
||||||
public static final String MAPPER = "/templates/enjoy/mapper.tpl";
|
public static final String MAPPER = "/templates/enjoy/mapper.tpl";
|
||||||
public static final String SERVICE = "/templates/enjoy/service.tpl";
|
public static final String SERVICE = "/templates/enjoy/service.tpl";
|
||||||
@ -33,7 +36,4 @@ public final class TemplateConst {
|
|||||||
public static final String MAPPER_XML = "/templates/enjoy/mapperXml.tpl";
|
public static final String MAPPER_XML = "/templates/enjoy/mapperXml.tpl";
|
||||||
public static final String PACKAGE_INFO = "/templates/enjoy/package-info.tpl";
|
public static final String PACKAGE_INFO = "/templates/enjoy/package-info.tpl";
|
||||||
|
|
||||||
private TemplateConst() {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user