|
|
|
|
@ -18,15 +18,23 @@ public class ClientRateConfig {
|
|
|
|
|
@JSONField(name = "rate_name")
|
|
|
|
|
@NotEmpty(message = "error.payment.valid.param_missing")
|
|
|
|
|
private String rateName;
|
|
|
|
|
|
|
|
|
|
@JSONField(name = "rate_value")
|
|
|
|
|
@NotNull(message = "error.payment.valid.param_missing")
|
|
|
|
|
private Double rateValue;
|
|
|
|
|
|
|
|
|
|
@JSONField(name = "transaction_fee")
|
|
|
|
|
@NotNull(message = "error.payment.valid.param_missing")
|
|
|
|
|
private Double transactionFee;
|
|
|
|
|
|
|
|
|
|
@JSONField(name = "active_time")
|
|
|
|
|
@NotNull(message = "error.payment.valid.param_missing")
|
|
|
|
|
private Date activeTime;
|
|
|
|
|
|
|
|
|
|
@JSONField(name = "expiry_time")
|
|
|
|
|
@NotNull(message = "error.payment.valid.param_missing")
|
|
|
|
|
private Date expiryTime;
|
|
|
|
|
|
|
|
|
|
@JSONField(name = "clean_days")
|
|
|
|
|
@NotNull(message = "error.payment.valid.param_missing")
|
|
|
|
|
private Integer cleanDays = 3;
|
|
|
|
|
@ -86,4 +94,12 @@ public class ClientRateConfig {
|
|
|
|
|
public void setRemark(String remark) {
|
|
|
|
|
this.remark = remark;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Double getTransactionFee() {
|
|
|
|
|
return transactionFee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setTransactionFee(Double transactionFee) {
|
|
|
|
|
this.transactionFee = transactionFee;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|