Code Monkey home page Code Monkey logo

generator-springboot-mybatis's Introduction

Generator-SpringBoot-MyBatis(SpringBoot+MyBatis代码生成工程)

主要功能

  • 生成Mapper文件
  • 生成Service文件
  • 生成Controller文件
  • 生成Entity文件

如何启动

使用IDEA 或者 Eclipse导入maven项目,之后直接运行App类的main()方法即可

配置相关介绍

1.数据库配置

  • driver: 数据库驱动
  • url: url
  • username: 数据库用户名
  • password: 数据库密码

2.代码生成目标选择配置

  • allTables: 所有表
  • specificTables: 指定表,以英文“,”分隔

3.代码输出配置

  • outputTo: 选择输出目标(1.到控制台; 2.到文件)
  • outPath: 输出目标路径

4.代码生成配置

  • controller: 是否生成Ctroller文件(true,false)
  • service: 是否生成service文件(true,false)
  • mapper: 是否生成mapper文件(true,false)
  • entity: 是否生成entity文件(true,false)
  • angularJS: 是否生成angularJS文件(true,false)
  • entityGet: 是否生成类的get方法
  • entitySet: 是否生成类的set方法
  • entityConstructor: 是否生成类的构造器方法

5.其他配置

  • author: 代码生成作者

generator-springboot-mybatis's People

Contributors

yangmingsen avatar

Watchers

James Cloos avatar  avatar

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.