|
@@ -0,0 +1,85 @@
|
|
|
+package com.qmth.themis.business.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
+import com.qmth.themis.business.base.BaseEntity;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Description: 系统参数
|
|
|
+ * @Param:
|
|
|
+ * @return:
|
|
|
+ * @Author: wangliang
|
|
|
+ * @Date: 2020/6/25
|
|
|
+ */
|
|
|
+@ApiModel(value = "sys_config", description = "系统参数表")
|
|
|
+public class SysConfig extends BaseEntity {
|
|
|
+
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ @ApiModelProperty(value = "机构id")
|
|
|
+ @TableField(value = "org_id")
|
|
|
+ private Long orgId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 参数键值
|
|
|
+ */
|
|
|
+ @TableField("config_key")
|
|
|
+ private String configKey;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 参数名称
|
|
|
+ */
|
|
|
+ @TableField("config_name")
|
|
|
+ private String configName;
|
|
|
+ /**
|
|
|
+ * 参数键值
|
|
|
+ */
|
|
|
+ @TableField("config_value")
|
|
|
+ private String configValue;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "是否启用,0:停用,1:启用")
|
|
|
+ @TableField(value = "enable")
|
|
|
+ private Integer enable;
|
|
|
+
|
|
|
+ public Long getOrgId() {
|
|
|
+ return orgId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrgId(Long orgId) {
|
|
|
+ this.orgId = orgId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getConfigKey() {
|
|
|
+ return configKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setConfigKey(String configKey) {
|
|
|
+ this.configKey = configKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getConfigName() {
|
|
|
+ return configName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setConfigName(String configName) {
|
|
|
+ this.configName = configName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getConfigValue() {
|
|
|
+ return configValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setConfigValue(String configValue) {
|
|
|
+ this.configValue = configValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getEnable() {
|
|
|
+ return enable;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEnable(Integer enable) {
|
|
|
+ this.enable = enable;
|
|
|
+ }
|
|
|
+}
|