gao
2020-05-27 5013f71d0b9a886de77f936606de061ce1eb2aee
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
33
package com.xcong.excoin.modules.home.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 = "会员快捷买入卖出参数接收类", description = "会员快捷买入卖出参数接收类")
public class MemberQuickBuySaleDto {
    
    @NotNull(message = "用户Id不能为空")
    @ApiModelProperty(value = "用户Id",example = "1")
    private Long memberId;
    
    @NotNull(message = "金额不能为空")
    @ApiModelProperty(value = "金额(人民币)",example = "700")
    private BigDecimal amountCny;
    
    @NotNull(message = "金额不能为空")
    @ApiModelProperty(value = "金额(USDT)",example = "100")
    private BigDecimal amountUsdt;
    
    @ApiModelProperty(value = "单价",example = "7")
    private BigDecimal unitPrice;
    
    @NotNull(message = "交易密码不能为空")
    @ApiModelProperty(value = "交易密码",example = "123456")
    private String tradePassword;
}