From c2b576a8119e1e480487fb17534c4bf5183eb05a Mon Sep 17 00:00:00 2001 From: x ronger Date: Fri, 13 Mar 2020 23:47:14 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=88=91=E7=9A=84=E8=8D=89?= =?UTF-8?q?=E7=A8=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/constant/ProjectConstant.java | 29 ++++++++++++------- .../java/com/rymcu/vertical/dto/Author.java | 3 ++ 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/rymcu/vertical/core/constant/ProjectConstant.java b/src/main/java/com/rymcu/vertical/core/constant/ProjectConstant.java index 96eb072..db5d098 100644 --- a/src/main/java/com/rymcu/vertical/core/constant/ProjectConstant.java +++ b/src/main/java/com/rymcu/vertical/core/constant/ProjectConstant.java @@ -2,16 +2,25 @@ package com.rymcu.vertical.core.constant; /** * 项目常量 + * @author ronger */ public final class ProjectConstant { - public static final String BASE_PACKAGE = "com.rymcu.vertical";//项目基础包名称,根据自己公司的项目修改 - - public static final String DTO_PACKAGE = BASE_PACKAGE + ".dto";//DTO所在包 - public static final String MODEL_PACKAGE = BASE_PACKAGE + ".entity";//Model所在包 - public static final String MAPPER_PACKAGE = BASE_PACKAGE + ".mapper";//Mapper所在包 - public static final String SERVICE_PACKAGE = BASE_PACKAGE + ".service";//Service所在包 - public static final String SERVICE_IMPL_PACKAGE = SERVICE_PACKAGE + ".impl";//ServiceImpl所在包 - public static final String CONTROLLER_PACKAGE = BASE_PACKAGE + ".web";//Controller所在包 - - public static final String MAPPER_INTERFACE_REFERENCE = BASE_PACKAGE + ".core.mapper.Mapper";//Mapper插件基础接口的完全限定名 + /**当前环境*/ + public static final String ENV = "dev"; + /**项目基础包名称,根据自己公司的项目修改*/ + public static final String BASE_PACKAGE = "com.rymcu.vertical"; + /**DTO所在包*/ + public static final String DTO_PACKAGE = BASE_PACKAGE + ".dto"; + /**Model所在包*/ + public static final String MODEL_PACKAGE = BASE_PACKAGE + ".entity"; + /**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"; } diff --git a/src/main/java/com/rymcu/vertical/dto/Author.java b/src/main/java/com/rymcu/vertical/dto/Author.java index 49105d7..1f6a567 100644 --- a/src/main/java/com/rymcu/vertical/dto/Author.java +++ b/src/main/java/com/rymcu/vertical/dto/Author.java @@ -2,6 +2,9 @@ package com.rymcu.vertical.dto; import lombok.Data; +/** + * @author ronger + */ @Data public class Author {