# 餐饮连锁版 **Repository Path**: elfbobo/RestaurantChainAdmin ## Basic Information - **Project Name**: 餐饮连锁版 - **Description**: 餐饮连锁版 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 3 - **Created**: 2019-09-30 - **Last Updated**: 2024-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 目录结构说明 - document 项目说明文档 - springstage-codegen 代码生成器 - springstage-service 依赖于springstage-core 包含实体,repository,service . > service包按照模块进行划分,在 src/test/resource 中单独提供配置文件 application.yml 进行测试 - springstage-web 依赖于 springstage-service 代码围绕Controller > controller包按照模块划分,在 src/test/resource 中单独提供配置文件 application.yml 进行测试 - springstage-launch 启动工程,依赖于springstage-service, 只包含springboot main方法,各种环境的配置文件 > 如果需要分开部署,可以编写多个启动工程,如 springstage-management-launch,springstage-api-launch - springstage-xxx-page vue前端工程 #idea 统一设置 - idea 设置入口 File/Settings/Editor/File and Code Templates - Files/Class 模板 ``` #parse("File Header.java") #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end /** *
ClassName: ${PACKAGE_NAME}.${NAME} *
Function: TODO 功能描述 *
date: ${YEAR}-${MONTH}-${DAY} ${TIME} * @author wuqing * @version 1.0 * @since JDK 1.8 */ public class ${NAME} { } ``` - Files/Interface 模板 ``` #parse("File Header.java") #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end /** *
InterfaceName: ${PACKAGE_NAME}.${NAME} *
Function: TODO 功能描述 *
date: ${YEAR}-${MONTH}-${DAY} ${TIME} * @author wuqing * @version 1.0 * @since JDK 1.8 */ public interface ${NAME} { } ``` - Files/Enum 模板 ``` #parse("File Header.java") #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end /** *
EnumName: ${PACKAGE_NAME}.${NAME} *
Function: TODO 功能描述 *
date: ${YEAR}-${MONTH}-${DAY} ${TIME} * @author wuqing * @version 1.0 * @since JDK 1.8 */ public enum ${NAME} { } ``` - AnnotationType 模板 ``` #parse("File Header.java") #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end /** *
AnnotationName: ${PACKAGE_NAME}.${NAME} *
Function: TODO 功能描述 *
date: ${YEAR}-${MONTH}-${DAY} ${TIME} * @author wuqing * @version 1.0 * @since JDK 1.8 */ public @interface ${NAME} { } ``` - Includes/File Header ``` /******************************************************************************* * Copyright (c) 2010, 2018 西安秦晔信息科技有限公司 * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *******************************************************************************/ ```