我的草稿

This commit is contained in:
x ronger 2020-03-13 23:47:14 +08:00
parent dc700dce4a
commit c2b576a811
2 changed files with 22 additions and 10 deletions

View File

@ -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";
} }

View File

@ -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 {