记得上下班打卡 | git大法好,push需谨慎

Commit 1eb89737 authored by 张国柄's avatar 张国柄

~param:valid;

parent ebe216a3
......@@ -68,12 +68,15 @@ public class GoblinStoreMgtCouponAddParam implements Serializable {
private BigDecimal discount;
@ApiModelProperty(position = 12, required = false, value = "满减~满[8,2]", example = "10")
@DecimalMin(value = "0.02", message = "满减金额不能小于0.02")
@DecimalMax(value = "999999.99", message = "满减金额不能大于999999.99")
private BigDecimal valOver;
@ApiModelProperty(position = 12, required = false, value = "满减~减[8,2]", example = "5")
@DecimalMin(value = "0.01", message = "满减面额不能小于0.01")
@DecimalMax(value = "999999.99", message = "满减面额不能大于999999.99")
private BigDecimal valMinus;
@ApiModelProperty(position = 12, required = false, value = "抵扣上限金额[8,2]", example = "2")
@DecimalMin(value = "0.01", message = "抵扣上限金额不能小于0.01")
@DecimalMax(value = "999999.99", message = "抵扣上限金额不能大于999999.99")
private BigDecimal deduction;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment