Git Product home page Git Product logo

template-mybatis's Introduction

template-mybatis 快速开发后台管理架构(开发中)

一直在寻找一个快速开发的框架,市面也有类似于jeecg/guns/x-boot这些。个人觉得有些局限,没法满足我的需求,所以我的快速开发框架诞生。该架构还有配套前端,我的爱人正在编辑中。介时会放上此文档。

使用说明

基础实体实现

  • 基础实体类 -- BaseEntity 里面含有一些基本字段
	// 编号
    private Long id;
	
	// 创建时间
    private Date ctime;
	
	// 修改时间
    private Date utime;
	
	// 逻辑删除
    private int deleted;

所有实体类均需继承此实体类。

用户模块设计

    // 登录名
    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 // 公共业务封装

template-mybatis's People

Contributors

youaodu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

liuteacher

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.