From a15753588c8efe53f4bd0c5be7ab9d678e2394af Mon Sep 17 00:00:00 2001 From: tanghc Date: Tue, 20 Dec 2022 17:59:49 +0800 Subject: [PATCH] 1.6.1 --- changelog.md | 6 ++ .../com/gitee/gen/entity/SystemConfig.java | 87 +++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 gen/src/main/java/com/gitee/gen/entity/SystemConfig.java diff --git a/changelog.md b/changelog.md index 30fdbb7..0fd4fff 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # changelog +## 1.6.1 + +- 【优化】达梦数据库类型映射java类型改为使用DmTypeFormatter [PR](https://gitee.com/durcframework/code-gen/pulls/26) +- 【优化】解决PostgreSql表同时存在主键与唯一索引造成生成的列重复出现 [PR](https://gitee.com/durcframework/code-gen/pulls/27) +- 【优化】mysql增加column的排序 [PR](https://gitee.com/durcframework/code-gen/pulls/29) + ## 1.6.0 本次更新主要来自[PR](https://gitee.com/durcframework/code-gen/pulls/24),再次感谢这位小伙伴的分享。 diff --git a/gen/src/main/java/com/gitee/gen/entity/SystemConfig.java b/gen/src/main/java/com/gitee/gen/entity/SystemConfig.java new file mode 100644 index 0000000..0d18427 --- /dev/null +++ b/gen/src/main/java/com/gitee/gen/entity/SystemConfig.java @@ -0,0 +1,87 @@ +package com.gitee.gen.entity; + +import java.util.Date; + +/** + * @author thc + */ +public class SystemConfig { + + /** + * 主键id + */ + private Integer id; + + /** + * datasource_config.id + */ + private Integer datasourceId; + + /** + * 配置key + */ + private String configKey; + + /** + * 配置value + */ + private String configValue; + + /** + * 是否全局变量,1:是,0:否 + */ + private Integer isGlobal; + + /** + * 添加时间 + */ + private Date addTime; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getDatasourceId() { + return datasourceId; + } + + public void setDatasourceId(Integer datasourceId) { + this.datasourceId = datasourceId; + } + + public String getConfigKey() { + return configKey; + } + + public void setConfigKey(String configKey) { + this.configKey = configKey; + } + + public String getConfigValue() { + return configValue; + } + + public void setConfigValue(String configValue) { + this.configValue = configValue; + } + + public Integer getIsGlobal() { + return isGlobal; + } + + public void setIsGlobal(Integer isGlobal) { + this.isGlobal = isGlobal; + } + + public Date getAddTime() { + return addTime; + } + + public void setAddTime(Date addTime) { + this.addTime = addTime; + } +} -- Gitee