xiaoyong931011
2020-05-25 e36b2b78017e480c8782f5969892c2ecb5fcbeb2
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
32
package com.xcong.excoin.modules.coin.parameter.dto;
 
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
@ApiModel(value = "SubmitSalesWalletCoinOrderDto", description = "提交买卖订单接收类")
public class SubmitSalesWalletCoinOrderDto {
    
    @ApiModelProperty(value = "币种", example = "BTC")
    private String symbol;
 
    @NotNull(message = "币种不能为空")
    @ApiModelProperty(value = "币种", example = "USDT")
    private Integer type;
    
    @NotNull(message = "账户类型不能为空")
    @ApiModelProperty(value = "账户类型", example = "1")
    private Integer tradeType;
    
    @NotNull(message = "数量不能为空")
    @ApiModelProperty(value = "数量", example = "100")
    private BigDecimal amount;
 
    @NotNull(message = "建仓价不能为空")
    @ApiModelProperty(value = "建仓价", example = "20.0000")
    private BigDecimal price;
 
}