NewGaoKaoApi/PaymentSDK/AliPay/Domain/DataEntry.cs

37 lines
1.2 KiB
C#
Raw 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>
/// DataEntry Data Structure.
/// </summary>
[Serializable]
public class DataEntry : AopObject
{
/// <summary>
/// 数据的发生时间
/// </summary>
[XmlElement("biz_time")]
public string BizTime { get; set; }
/// <summary>
/// 数据名称
/// </summary>
[XmlElement("name")]
public string Name { get; set; }
/// <summary>
/// 用于指定数据的类型 数值类型Long整型、Double浮点型、Average取平均浮点型 枚举类型用于分布表格Enum 比率类型用于比率类平均Rate
/// </summary>
[XmlElement("type")]
public string Type { get; set; }
/// <summary>
/// 数据值。内容和type参数对应。 支持一组数据的json表达比如[“E1”,"E2"][“2”,"1"]。 枚举类支持下面简写方式:[“E1*99”,"E2*35"]即E1出现99次E2出现35次。中间用“*”分隔。
/// </summary>
[XmlElement("value")]
public string Value { get; set; }
}
}