组织介绍
项目结构
- code-stater 项目启动工程
- code-view 前端 - me-view
- code-view-element-plus Vue 3.0 之 Element-Plus
模板说明
- template- 模板根目录前缀
- template-service 后端模板前缀
- template-view 前端模板前缀
模板模型
System 配置
- system.name 系统名称
- system.prefix 系统前缀
- system.module 系统模块
Table 配置
- table.primaryColumn 主键列
- table.primaryField 主键字段
- table.primaryRule 主键生成规则
- table.tableName 表名称
- table.bigHump 大驼峰
- table.littleHump 小驼峰
Column 配置
| 字段名 |
说明 |
| columnName |
列名称 |
| dataType |
列类型 |
| fieldName |
字段性名 |
| description |
列描述 |
- listColumnAll 所有列
- listColumnCondition 列集合 - 查询
- listColumnTable 列集合 - table
- listColumnDetail 列集合 - 详情、新增
Database 配置
- datasource.domain 地址
- datasource.port 端口
- datasource.databaseName 库名
- datasource.userName 用户名
- datasource.password 密码
View 配置
- view.layoutEdit 布局 - 编辑
- view.layoutCondition 布局 - 条件
- viev.labelWidth label 宽度
Maven 配置
- maven.groupId
- maven.artifactId 缺失,自定义
- maven.version
- maven.parentGroupId 父 groupId
- maven.parentArtifactId 父 artifactId
- maven.parentVersion 父 version
Other 配置
- groupPath 转路径
- --copy-- 只复制不解析
- --batch-- 根据数据表批量解析模板
- --ss--