Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jz-dmp-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚本章
jz-dmp-service
Commits
14119a28
Commit
14119a28
authored
Dec 30, 2020
by
mcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
af7cc5aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
3 deletions
+104
-3
JsonResult.java
src/main/java/com/jz/common/constant/JsonResult.java
+6
-3
SyncingDatasourceTypeDto.java
...roller/DataIntegration/bean/SyncingDatasourceTypeDto.java
+98
-0
No files found.
src/main/java/com/jz/common/constant/JsonResult.java
View file @
14119a28
...
...
@@ -4,10 +4,13 @@ import com.fasterxml.jackson.annotation.JsonInclude;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
@ApiModel
(
value
=
"接口返回对象"
,
description
=
"接口返回对象"
)
@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> {
}
public
JsonResult
(
com
.
jz
.
dmp
.
agent
.
ResultCode
code
,
String
message
)
{
this
.
setCode
(
code
);
this
.
setCode
s
(
code
);
this
.
setMessage
(
message
);
}
public
void
setCode
(
com
.
jz
.
dmp
.
agent
.
ResultCode
code
)
{
public
void
setCode
s
(
com
.
jz
.
dmp
.
agent
.
ResultCode
code
)
{
this
.
code
=
code
.
val
();
}
...
...
src/main/java/com/jz/dmp/modules/controller/DataIntegration/bean/SyncingDatasourceTypeDto.java
0 → 100644
View file @
14119a28
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment