package com.xcong.excoin.modules.yunding.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; import java.math.BigDecimal; @Data @ApiModel(value = "PayProductDto", description = "支付入参类") public class PayProductDto { @NotNull @ApiModelProperty(value = "产品ID", example = "2") private Long id; /** * 购买数量 */ @NotNull @ApiModelProperty(value = "购买数量", example = "2") private BigDecimal quantity; /** * 资金交易密码 */ @NotNull @ApiModelProperty(value = "交易密码", example = "2") private String tradePassword; }