xiaoyong931011
2020-05-26 3b05807a5e6f578b981282cc18047e6bbe7f3a32
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
34
35
36
37
38
39
40
41
package com.xcong.excoin.modules.home.dto;
 
import java.math.BigDecimal;
import java.util.Date;
 
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 = "订单类型 B买入 S卖出",example = "B")
    private String orderType;
    
    @NotNull(message = "交易密码不能为空")
    @ApiModelProperty(value = "交易密码",example = "123456")
    private String tradePassword;
    
    @ApiModelProperty(value = "充值时间")
    private Date ChargeTime;
}