Helius
2021-05-20 7313bee2cdb9cec77b4e5447abf9d9c9c2e119b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.xcong.excoin.modules.otc.dto;
 
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import org.jetbrains.annotations.NotNull;
 
import java.math.BigDecimal;
 
@Data
@RequiredArgsConstructor
@ApiModel(value = "OtcOrderAddDto", description = "提交订单接口参数接收类")
public class OtcOrderAddDto {
 
    @NotNull
    @ApiModelProperty(value = "购买USDT数量", example = "120.00")
    private BigDecimal usdtAmount;
 
    @NotNull
    @ApiModelProperty(value = "CNY金额", example = "120.00")
    private BigDecimal cnyAmount;
 
    @NotNull
    @ApiModelProperty(value = "委托单ID", example = "1")
    private Long id;
 
    @ApiModelProperty(value = "资金密码 -- 用户出售USDT使用", example = "123456")
    private String password;
}