
com.alipay.api.domain.ValidationRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk Show documentation
Show all versions of alipay-sdk Show documentation
baidu push client api with maven
The newest version!
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 输入域规则校验模型
*
* @author auto create
* @since 1.0, 2013-12-05 14:40:29
*/
public class ValidationRule extends AlipayObject {
private static final long serialVersionUID = 5445972176538647436L;
/**
* 规则校验对应的错误提示 如:户号必须为10位数字
*/
@ApiField("error_msg")
private String errorMsg;
/**
* 正则表达式规则 如十位数字的正则表达式为:^\d{10}$
*/
@ApiField("rule_text")
private String ruleText;
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
public String getRuleText() {
return this.ruleText;
}
public void setRuleText(String ruleText) {
this.ruleText = ruleText;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy