Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpwgc/easy-generate
基于Yaml配置的简单代码生成器,可根据简单的Yaml配置,一键生成MySQL建表语句、Java PO对象、Java DTO对象。
https://github.com/dpwgc/easy-generate
code-generation java orm web yaml
Last synced: 6 days ago
JSON representation
基于Yaml配置的简单代码生成器,可根据简单的Yaml配置,一键生成MySQL建表语句、Java PO对象、Java DTO对象。
- Host: GitHub
- URL: https://github.com/dpwgc/easy-generate
- Owner: dpwgc
- Created: 2024-01-11T10:16:21.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-11T13:03:24.000Z (about 1 year ago)
- Last Synced: 2024-11-19T06:14:19.856Z (2 months ago)
- Topics: code-generation, java, orm, web, yaml
- Language: Go
- Homepage:
- Size: 269 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 基于Yaml配置的简单代码生成器
## `自用`
### 目前支持根据简单的Yaml配置,一键生成MySQL建表语句、Java PO对象、Java DTO对象
***
## 使用方式
* 运行main.go
* 访问网页(自带默认配置模版)
> http://127.0.0.1/java/java.html
![web](./web.png)
***
## 注意
* yaml配置中的类型'type'只支持: 'int', 'long', 'float', 'string', 'text', 'time', 'date'
* time对应java的LocalDateTime,date对应java的LocalDate