KKSU
2024-04-17 829f629756e5402bcd3e9f6ef1f9c6dbffbabb11
src/main/java/com/xcong/excoin/modules/coin/parameter/dto/SubmitSalesWalletCoinOrderDto.java
@@ -1,6 +1,8 @@
package com.xcong.excoin.modules.coin.parameter.dto;
import java.math.BigDecimal;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@@ -16,13 +18,14 @@
   private String symbol;
   @NotNull(message = "交易类型不能为空")
    @ApiModelProperty(value = "买入卖出类型买入:1,卖出:2", example = "USDT")
    @ApiModelProperty(value = "买入卖出类型买入:1,卖出:2", example = "1")
    private Integer type;
   
   @NotNull(message = "交易方式不能为空")
    @ApiModelProperty(value = "市价:1,限价:2", example = "1")
   private Integer tradeType;
   
    @Min(0)
   @NotNull(message = "数量不能为空")
   @ApiModelProperty(value = "数量", example = "100")
   private BigDecimal amount;