using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
///
/// ValidationRule Data Structure.
///
[Serializable]
public class ValidationRule : AopObject
{
///
/// 规则校验对应的错误提示 如:户号必须为10位数字
///
[XmlElement("error_msg")]
public string ErrorMsg { get; set; }
///
/// 正则表达式规则 如十位数字的正则表达式为:^\d{10}$
///
[XmlElement("rule_text")]
public string RuleText { get; set; }
}
}