From 6c2e9ba62c418185361179e7014862c481f34e17 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 09 Mar 2022 14:22:09 +0800 Subject: [PATCH] conflect merge --- src/main/java/com/xcong/excoin/modules/otc/dto/OtcOrderAddDto.java | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/dto/OtcOrderAddDto.java b/src/main/java/com/xcong/excoin/modules/otc/dto/OtcOrderAddDto.java new file mode 100644 index 0000000..6fad748 --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/otc/dto/OtcOrderAddDto.java @@ -0,0 +1,29 @@ +package com.xcong.excoin.modules.otc.dto; + + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import javax.validation.constraints.NotNull; +import java.math.BigDecimal; + +@Data +@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; +} -- Gitblit v1.9.1