✨ 我的草稿
This commit is contained in:
parent
dc700dce4a
commit
c2b576a811
@ -2,16 +2,25 @@ package com.rymcu.vertical.core.constant;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 项目常量
|
* 项目常量
|
||||||
|
* @author ronger
|
||||||
*/
|
*/
|
||||||
public final class ProjectConstant {
|
public final class ProjectConstant {
|
||||||
public static final String BASE_PACKAGE = "com.rymcu.vertical";//项目基础包名称,根据自己公司的项目修改
|
/**当前环境*/
|
||||||
|
public static final String ENV = "dev";
|
||||||
public static final String DTO_PACKAGE = BASE_PACKAGE + ".dto";//DTO所在包
|
/**项目基础包名称,根据自己公司的项目修改*/
|
||||||
public static final String MODEL_PACKAGE = BASE_PACKAGE + ".entity";//Model所在包
|
public static final String BASE_PACKAGE = "com.rymcu.vertical";
|
||||||
public static final String MAPPER_PACKAGE = BASE_PACKAGE + ".mapper";//Mapper所在包
|
/**DTO所在包*/
|
||||||
public static final String SERVICE_PACKAGE = BASE_PACKAGE + ".service";//Service所在包
|
public static final String DTO_PACKAGE = BASE_PACKAGE + ".dto";
|
||||||
public static final String SERVICE_IMPL_PACKAGE = SERVICE_PACKAGE + ".impl";//ServiceImpl所在包
|
/**Model所在包*/
|
||||||
public static final String CONTROLLER_PACKAGE = BASE_PACKAGE + ".web";//Controller所在包
|
public static final String MODEL_PACKAGE = BASE_PACKAGE + ".entity";
|
||||||
|
/**Mapper所在包*/
|
||||||
public static final String MAPPER_INTERFACE_REFERENCE = BASE_PACKAGE + ".core.mapper.Mapper";//Mapper插件基础接口的完全限定名
|
public static final String MAPPER_PACKAGE = BASE_PACKAGE + ".mapper";
|
||||||
|
/**Service所在包*/
|
||||||
|
public static final String SERVICE_PACKAGE = BASE_PACKAGE + ".service";
|
||||||
|
/**ServiceImpl所在包*/
|
||||||
|
public static final String SERVICE_IMPL_PACKAGE = SERVICE_PACKAGE + ".impl";
|
||||||
|
/**Controller所在包*/
|
||||||
|
public static final String CONTROLLER_PACKAGE = BASE_PACKAGE + ".web";
|
||||||
|
/**Mapper插件基础接口的完全限定名*/
|
||||||
|
public static final String MAPPER_INTERFACE_REFERENCE = BASE_PACKAGE + ".core.mapper.Mapper";
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,9 @@ package com.rymcu.vertical.dto;
|
|||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author ronger
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class Author {
|
public class Author {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user