Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/Option.cs

24 lines
496 B
C#
Raw Normal View History

2020-10-07 20:25:03 +08:00
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// Option Data Structure.
/// </summary>
[Serializable]
public class Option : AopObject
{
/// <summary>
/// 文本,通常用于理解对应的取值
/// </summary>
[JsonProperty("text")]
public string Text { get; set; }
/// <summary>
/// 取值,通常使用简单的数字或字符串
/// </summary>
[JsonProperty("value")]
public string Value { get; set; }
}
}