提现金额不能小于20

This commit is contained in:
墨大叔 2024-07-30 10:31:46 +08:00
parent 52db6e2137
commit 2eadd24576

View File

@ -3,6 +3,7 @@ package com.ruoyi.ss.transactionBill.domain.dto;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.Min;
import java.math.BigDecimal; import java.math.BigDecimal;
/** /**
@ -14,6 +15,7 @@ import java.math.BigDecimal;
public class WithdrawDTO { public class WithdrawDTO {
@ApiModelProperty("提现金额") @ApiModelProperty("提现金额")
@Min(value = 20, message = "提现金额不能小于20")
private BigDecimal money; private BigDecimal money;
@ApiModelProperty("提现到账金额") @ApiModelProperty("提现到账金额")