NewGaoKaoApi/PaymentSDK/AliPay/Domain/ValidationRule.cs

25 lines
637 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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