Helius
2021-06-15 1410c2c53a44f66a3dd06b5fc3d9e8152a1d4bf1
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;
@@ -23,12 +25,17 @@
    @ApiModelProperty(value = "市价:1,限价:2", example = "1")
   private Integer tradeType;
   
   @NotNull(message = "数量不能为空")
    @Min(0)
   //@NotNull(message = "数量不能为空")
   @ApiModelProperty(value = "数量", example = "100")
   private BigDecimal amount;
   @NotNull(message = "建仓价不能为空")
   //@NotNull(message = "建仓价不能为空")
   @ApiModelProperty(value = "建仓价", example = "20.0000")
   private BigDecimal price;
   @ApiModelProperty(value = "市价时输入的总金额", example = "20.0000")
   private BigDecimal entrustAmount;
}