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; }