提现金额不能小于20
This commit is contained in:
parent
52db6e2137
commit
2eadd24576
|
@ -3,6 +3,7 @@ package com.ruoyi.ss.transactionBill.domain.dto;
|
|||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.Min;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
|
@ -14,6 +15,7 @@ import java.math.BigDecimal;
|
|||
public class WithdrawDTO {
|
||||
|
||||
@ApiModelProperty("提现金额")
|
||||
@Min(value = 20, message = "提现金额不能小于20")
|
||||
private BigDecimal money;
|
||||
|
||||
@ApiModelProperty("提现到账金额")
|
||||
|
|
Loading…
Reference in New Issue
Block a user