zainali5120
2020-05-31 a2d9bd16ac1106489572a5f7d8d70e1086d5406d
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
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 = "金额不能为空")
    @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;
}