package com.matrix.system.shopXcx.api.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; @Data @ApiModel(value = "WithdrawalCashDto", description = "提现参数接收类") public class WithdrawalCashDto { @NotNull(message = "提现金额不能为空") @ApiModelProperty(value = "提现金额", example = "1") private Double amount; }