Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 90bf1153
authored
Jul 06, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增接口返回DTO
1 parent
2a594887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/WorkbenchSummaryResp.java
project-order/src/main/java/com/dituhui/pea/order/dto/WorkbenchSummaryResp.java
0 → 100644
View file @
90bf115
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
WorkbenchSummaryResp
{
private
List
<
ItemDTO
>
summary
;
@Data
public
static
class
ItemDTO
{
private
String
type
;
private
List
<
ValueDTO
>
rows
;
}
@Data
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
public
static
class
ValueDTO
{
private
String
title
;
private
String
value
;
private
String
total
;
private
String
valueColor
;
private
String
url
;
public
ValueDTO
(
String
title
,
String
value
,
String
total
,
String
valueColor
,
String
url
){
this
.
title
=
title
;
this
.
value
=
value
;
this
.
total
=
total
;
this
.
valueColor
=
valueColor
;
this
.
url
=
url
;
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment