NewGaoKaoApi/PaymentSDK/AliPay/Domain/LifeLabel.cs

69 lines
1.9 KiB
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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// LifeLabel Data Structure.
/// </summary>
[Serializable]
public class LifeLabel : AopObject
{
/// <summary>
/// 该标签支持的业务列表menu表示个性化菜单extension表示个性化扩展区message表示消息触达
/// </summary>
[XmlElement("biz")]
public string Biz { get; set; }
/// <summary>
/// 标签类目
/// </summary>
[XmlElement("category")]
public string Category { get; set; }
/// <summary>
/// 标签值数据类型
/// </summary>
[XmlElement("data_type")]
public string DataType { get; set; }
/// <summary>
/// 标签英文代码
/// </summary>
[XmlElement("label_code")]
public string LabelCode { get; set; }
/// <summary>
/// 标签id唯一标识一个标签
/// </summary>
[XmlElement("label_id")]
public string LabelId { get; set; }
/// <summary>
/// 标签名
/// </summary>
[XmlElement("label_name")]
public string LabelName { get; set; }
/// <summary>
/// 该标签支持的运算符
/// </summary>
[XmlElement("operator")]
public string Operator { get; set; }
/// <summary>
/// 每个取值的业务含义
/// </summary>
[XmlArray("options")]
[XmlArrayItem("option")]
public List<Option> Options { get; set; }
/// <summary>
/// 标签类型目前分为common通用标签、custom生活号自定义标签、cloud云实验室标签
/// </summary>
[XmlElement("type")]
public string Type { get; set; }
}
}