# template-mybatis **Repository Path**: youaodu/template-mybatis ## Basic Information - **Project Name**: template-mybatis - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-16 - **Last Updated**: 2021-06-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # template-mybatis 快速开发后台管理架构(开发中) ### 一直在寻找一个快速开发的框架,市面也有类似于jeecg/guns/x-boot这些。个人觉得有些局限,没法满足我的需求,所以我的快速开发框架诞生。该架构还有配套前端,我的爱人正在编辑中。介时会放上此文档。 ## 使用说明 ### 基础实体实现 - 基础实体类 -- BaseEntity 里面含有一些基本字段 ```java // 编号 private Long id; // 创建时间 private Date ctime; // 修改时间 private Date utime; // 逻辑删除 private int deleted; ``` 所有实体类均需继承此实体类。 ### 用户模块设计 ```java // 登录名 private String userName; // 明文密码 private String pwd; // 全局唯一ID private String accountId; // 加密后密码 private String encryPwd; // 登录锁定 private Integer loginLock; ``` 用户的字段是妙不可言的,有很多维度的信息,本系统只记录用户名和密码,如需可继承此类(BaseUser) ## 技术选型 |技术|版本|描述| | - | - | - | | Springboot | 2.1.8.RELEASE | 不用介绍吧 | | MybatisPlus | 3.3.1.tmp | 非常常见的 Dao 层框架 | | hutool | 5.2.4 | 非常好用的国产工具集 | | Jpa | 2.1.8.RELEASE | 用来自动生成表的 | ## 类结构说明 ``` ├── template-admin // 后台应用部分 │   ├── template-admin-application // 后台应用启动模块 │   ├── template-admin-biz // 后台应用业务处理模块 │   ├── template-admin-controller // 后台应用对外接口模块 ├── template-client // 客户端应用部分 │   ├── template-client-application // 客户端应用启动模块 │   ├── template-client-biz // 客户端应用业务处理模块 │   ├── template-client-controller // 客户端应用对外接口模块 ├── template-common │   ├── template-common-dao // 公共ORM展示层 │   ├── template-common-entity // 公共封装对象 │   │   ├── template-common-entity-model // ORM映射实体类 │   │   ├── template-common-entity-pojo // POJO │   ├── template-common-framework // 基础框架 │   ├── template-common-service // 公共业务封装 ```