Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/ValidationRule.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

24 lines
573 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// ValidationRule Data Structure.
/// </summary>
[Serializable]
public class ValidationRule : AopObject
{
/// <summary>
/// 规则校验对应的错误提示 如户号必须为10位数字
/// </summary>
[JsonProperty("error_msg")]
public string ErrorMsg { get; set; }
/// <summary>
/// 正则表达式规则 如十位数字的正则表达式为:^\d{10}$
/// </summary>
[JsonProperty("rule_text")]
public string RuleText { get; set; }
}
}