| package cc.mrbird.febs.mall.dto; | 
|   | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import javax.validation.constraints.NotBlank; | 
| import javax.validation.constraints.NotNull; | 
| import java.math.BigDecimal; | 
|   | 
| @Data | 
| @ApiModel(value = "ApiVoucherBusinessDto", description = "请求类") | 
| public class ApiVoucherBusinessDto { | 
|   | 
|     /** | 
|      * B:买入S:卖出 | 
|      */ | 
|     @ApiModelProperty(value = "B:买入S:卖出") | 
|     @NotBlank(message = "请选择买入") | 
|     private String type; | 
|   | 
|     @ApiModelProperty(value = "数量") | 
|     @NotNull(message = "请输入合理的数量") | 
|     private BigDecimal voucherCnt; | 
|   | 
|     @ApiModelProperty(value = "交易密码") | 
|     @NotBlank(message = "请输入支付密码") | 
|     private String tradePassword; | 
|   | 
| } |