Giter Site home page Giter Site logo

chiyou-code's Introduction

chiyou-code

code gen

安装教程

  1. 初始化步骤

确保安装cobra-cli,通过cobra-cli进行命令行程序开发

go install github.com/spf13/cobra-cli@latest

go mod init chiyou.code/mmc

cobra-cli init --author "FF911" --license mit --viper

cobra-cli add java

cobra-cli add csharp

表规范 (mysql 8.0)

-- sys_platform definition

CREATE TABLE `sys_platform` (
  `TransactionNumber` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `PlatformCode` varchar(50) NOT NULL DEFAULT '' COMMENT '平台编码',
  `PlatformName` varchar(128) NOT NULL DEFAULT '' COMMENT '平台名称',
  `PlatformUrl` varchar(255) NOT NULL COMMENT '平台URL',
  `PlatformIcon` varchar(50) NOT NULL DEFAULT '' COMMENT '平台图标',
  `Status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态: 1-启用; 0-停用',
  `Description` varchar(255) NOT NULL DEFAULT '' COMMENT '备注',
  `Version` int NOT NULL DEFAULT '0' COMMENT '版本',
  `InUser` varchar(128) NOT NULL COMMENT '创建人',
  `InDate` bigint NOT NULL COMMENT '创建时间',
  `LastEditUser` varchar(128) DEFAULT NULL COMMENT '最后更新人',
  `LastEditDate` bigint DEFAULT NULL COMMENT '最后更新时间',
  `Deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除: 1-已删除; 0-正常',
  PRIMARY KEY (`TransactionNumber`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='平台表';

使用说明

  1. mmc java or mmc_amd64.exe java --config .mmc.newegg.yml

chiyou-code's People

Contributors

terryren avatar

Watchers

 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.