Giter VIP home page Giter VIP logo

jfinalq-gencode's Introduction

jfinalQ-gencode

  1. jfinalQ代码生成工具
  2. 采用velocity模版技术
  3. 可以多表同时生成
  1. 基于jfinal2.0,易学,开发快速,功能强大
  2. 基于bootstrap3.x,简洁美观,完美适配移动端
  3. jfinalQ:jfinalQ最简化示例
  4. jfinalQ-gencode:jfinalQ自带代码生成工具
  5. jfinalQ-encrypt:jfinalQ自带tomcat加密部署工具
  6. bootstrapQ:jfinalQ自带bootstrap增强组件

表命名规范

  1. 数据库规范:db_开头,例如:db_blog
  2. 表名规范:t_开头,中间为模块名,结尾为功能名,例如:t_ucenter_user
  3. 字段规范:模块名_表名_开头,字段结尾,例如:ucenter_user_name
  4. 必备字段:
    1. id:id,int,10,not null,pk,ac
    2. 创建日期:cdate,datetime,not null
    3. 创建人id:cuser_id,int,10,not null
    4. 创建人姓名:cuser_name,varchar,200,not null

开始使用

  1. 将src和lib复制到一个java project中
  2. 修改db.properties中的数据库连接信息
  3. 运行com.uikoo9.gcode.gui.QGenerateCodeFrame
  4. 点击浏览按钮,选择要保存代码的文件夹
  5. 选择要生成代码的表,点击生成
  6. 将生成的代码直接拷贝到项目下

注意

  1. 可以通过修改com.uikoo9.tmp下的模版文件修改生成模版
  2. 为了适应32位,64位,linux等操作系统,所以没有生成jar

捐助

希望得到您的捐助:

(支付宝捐助)

zhifubao

(微信捐助)

weixin

jfinalq-gencode's People

Contributors

uikoo9 avatar

Watchers

张伟 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.