parent
e3001bc043
commit
95523948a0
@ -0,0 +1,25 @@
|
||||
package cc.yunxi.domain.vo.enterprise;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.Min;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@ApiModel(description = "商户余额充值 Request VO")
|
||||
@Data
|
||||
public class RechargeBalanceVO {
|
||||
|
||||
@ApiModelProperty(value = "企业商户id")
|
||||
@NotBlank(message = "商户号不能为空")
|
||||
private String merchantId;
|
||||
|
||||
@ApiModelProperty(value = "充值金额")
|
||||
@NotNull(message = "充值金额不能为空")
|
||||
@Min(value = 100, message = "充值金额最大为100元")
|
||||
@Max(value = 10000, message = "充值金额最大为10000元")
|
||||
private Integer amount;
|
||||
}
|
Loading…
Reference in new issue