package cc.mrbird.febs.mall.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.Min;
|
import javax.validation.constraints.NotNull;
|
import java.math.BigDecimal;
|
|
@Data
|
@ApiModel(value = "ApiGoChargeUSDTDto", description = "API信息参数接收类")
|
public class ApiGoChargeUSDTDto {
|
|
@NotNull(message = "请选择地址")
|
@ApiModelProperty(value = "地址ID", example = "123456")
|
private Long addressId;
|
|
@NotNull(message = "请选择金额")
|
@Min(0)
|
@ApiModelProperty(value = "数量", example = "123456")
|
private BigDecimal amount;
|
|
@NotNull(message = "请输入资金密码")
|
@ApiModelProperty(value = "资金密码", example = "123456")
|
private String tradeWord;
|
}
|