Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gsc
/
gsc-vcp-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8d941f6d
authored
Nov 07, 2025
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
拍卖数据推送请求
1 parent
af898b55
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
src/main/java/com/gsc4cloud/gsc/vpc/api/req/thirdparty/auction/CarAuctionRequest.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/thirdparty/auction/CarAuctionRequest.java
View file @
8d941f6
...
@@ -79,50 +79,41 @@ public class CarAuctionRequest {
...
@@ -79,50 +79,41 @@ public class CarAuctionRequest {
@NotNull
(
message
=
"拍卖结束时间不能为空"
)
@NotNull
(
message
=
"拍卖结束时间不能为空"
)
private
Date
auctionEndTime
;
private
Date
auctionEndTime
;
@Schema
(
description
=
"拍卖剩余时间的秒数"
,
example
=
"120"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"拍卖剩余时间的秒数"
,
example
=
"120"
)
@NotNull
(
message
=
"剩余时间不能为空"
)
private
Integer
timeRemainingSeconds
;
private
Integer
timeRemainingSeconds
;
}
}
@Schema
(
description
=
"撮合信息,仅在 IN_NEGOTIATION 及后续状态下有值"
)
@Schema
(
description
=
"撮合信息,仅在 IN_NEGOTIATION 及后续状态下有值"
)
@Data
@Data
public
static
class
NegotiationInfo
{
public
static
class
NegotiationInfo
{
@Schema
(
description
=
"拍卖结束时的最高出价,作为撮合起点"
,
example
=
"178000.00"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"拍卖结束时的最高出价,作为撮合起点"
,
example
=
"178000.00"
)
@NotNull
(
message
=
"最高出价不能为空"
)
private
BigDecimal
highestAuctionBid
;
private
BigDecimal
highestAuctionBid
;
@Schema
(
description
=
"撮合过程中,当前买家给出的最优报价"
,
example
=
"179000.00"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"撮合过程中,当前买家给出的最优报价"
,
example
=
"179000.00"
)
@NotNull
(
message
=
"当前报价不能为空"
)
private
BigDecimal
currentOfferPrice
;
private
BigDecimal
currentOfferPrice
;
@Schema
(
description
=
"负责该车辆撮合工作的销售或客服专员ID"
,
example
=
"EMP-007"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"负责该车辆撮合工作的销售或客服专员ID"
,
example
=
"EMP-007"
)
@NotEmpty
(
message
=
"撮合专员ID不能为空"
)
private
String
negotiatorId
;
private
String
negotiatorId
;
@Schema
(
description
=
"撮合议价的截止时间"
,
example
=
"2023-10-27 18:00:00"
,
type
=
"string"
,
format
=
"date-time"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"撮合议价的截止时间"
,
example
=
"2023-10-27 18:00:00"
,
type
=
"string"
,
format
=
"date-time"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"Asia/Shanghai"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"Asia/Shanghai"
)
@NotNull
(
message
=
"撮合截止时间不能为空"
)
private
Date
negotiationDeadline
;
private
Date
negotiationDeadline
;
}
}
@Schema
(
description
=
"最终成交结果"
)
@Schema
(
description
=
"最终成交结果"
)
@Data
@Data
public
static
class
FinalResult
{
public
static
class
FinalResult
{
@Schema
(
description
=
"最终中标者或购买者的用户ID"
,
example
=
"USER-****-9527"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"最终中标者或购买者的用户ID"
,
example
=
"USER-****-9527"
)
@NotEmpty
(
message
=
"中标者ID不能为空"
)
private
String
winnerId
;
private
String
winnerId
;
@Schema
(
description
=
"最终确认成交的时间"
,
example
=
"2023-10-26 11:30:00"
,
type
=
"string"
,
format
=
"date-time"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"最终确认成交的时间"
,
example
=
"2023-10-26 11:30:00"
,
type
=
"string"
,
format
=
"date-time"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"Asia/Shanghai"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"Asia/Shanghai"
)
@NotNull
(
message
=
"成交时间不能为空"
)
private
Date
transactionTime
;
private
Date
transactionTime
;
@Schema
(
description
=
"成交方式"
,
example
=
"AUCTION"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"成交方式"
,
example
=
"AUCTION"
)
@NotEmpty
(
message
=
"成交方式不能为空"
)
private
String
transactionType
;
private
String
transactionType
;
@Schema
(
description
=
"最终成交价格(售价)"
,
example
=
"179000.00"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
)
@Schema
(
description
=
"最终成交价格(售价)"
,
example
=
"179000.00"
)
@NotNull
(
message
=
"最终成交价格不能为空"
)
private
BigDecimal
sellingPrice
;
private
BigDecimal
sellingPrice
;
}
}
}
}
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