using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// Attribute Data Structure. /// [Serializable] public class Attribute : AopObject { /// /// 扩展属性的key,由支付宝侧定义分配 /// [XmlElement("key")] public string Key { get; set; } /// /// 属性的值,如果“单一值”,数组只有一项;如果是“多值”,则数组对应有多项。 /// [XmlArray("value")] [XmlArrayItem("string")] public List Value { get; set; } } }