Commit 14119a28 authored by mcb's avatar mcb

no message

parent af7cc5aa
...@@ -4,10 +4,13 @@ import com.fasterxml.jackson.annotation.JsonInclude; ...@@ -4,10 +4,13 @@ import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
@ApiModel(value = "接口返回对象", description = "接口返回对象") @ApiModel(value = "接口返回对象", description = "接口返回对象")
@JsonInclude(JsonInclude.Include.NON_NULL) @JsonInclude(JsonInclude.Include.NON_NULL)
public class JsonResult<T> { public class JsonResult<T> implements Serializable {
private static final long serialVersionUID = 7988584286944000677L;
/** /**
* 返回代码 * 返回代码
*/ */
...@@ -60,11 +63,11 @@ public class JsonResult<T> { ...@@ -60,11 +63,11 @@ public class JsonResult<T> {
} }
public JsonResult(com.jz.dmp.agent.ResultCode code, String message) { public JsonResult(com.jz.dmp.agent.ResultCode code, String message) {
this.setCode(code); this.setCodes(code);
this.setMessage(message); this.setMessage(message);
} }
public void setCode(com.jz.dmp.agent.ResultCode code) { public void setCodes(com.jz.dmp.agent.ResultCode code) {
this.code = code.val(); this.code = code.val();
} }
......
package com.jz.dmp.modules.controller.DataIntegration.bean;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
/**
* 数据源类型(DmpSyncingDatasourceType)实体类
*
* @author Bellamy
* @since 2020-12-21 18:39:06
*/
@ApiModel(value = "数据源类型返回对象", description = "数据源类型")
public class SyncingDatasourceTypeDto implements Serializable {
private static final long serialVersionUID = 526021146272437267L;
/**
* 数据源类型ID
*/
@ApiModelProperty(value = "数据源类型ID")
private String datasourceTypeId;
/**
* 数据源名称
*/
@ApiModelProperty(value = "数据源名称")
private String datasourceTypeName;
/**
* 数据源分类
*/
@ApiModelProperty(value = "数据源分类")
private String datasourceCatecode;
/**
* 数据源分类
*/
@ApiModelProperty(value = "数据源分类名称")
private String datasourceCatename;
/**
* 数据源类型
*/
@ApiModelProperty(value = "数据源分类输入框属性json")
private JSONObject dbAttrs;
/**
* 数据源图标
*/
@ApiModelProperty(value = "数据源图标")
private String imgUrl;
public String getDatasourceCatecode() {
return datasourceCatecode;
}
public void setDatasourceCatecode(String datasourceCatecode) {
this.datasourceCatecode = datasourceCatecode;
}
public String getDatasourceCatename() {
return datasourceCatename;
}
public void setDatasourceCatename(String datasourceCatename) {
this.datasourceCatename = datasourceCatename;
}
public String getImgUrl() {
return imgUrl;
}
public void setImgUrl(String imgUrl) {
this.imgUrl = imgUrl;
}
public String getDatasourceTypeId() {
return datasourceTypeId;
}
public void setDatasourceTypeId(String datasourceTypeId) {
this.datasourceTypeId = datasourceTypeId;
}
public String getDatasourceTypeName() {
return datasourceTypeName;
}
public void setDatasourceTypeName(String datasourceTypeName) {
this.datasourceTypeName = datasourceTypeName;
}
public JSONObject getDbAttrs() {
return dbAttrs;
}
public void setDbAttrs(JSONObject dbAttrs) {
this.dbAttrs = dbAttrs;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment