Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/DataEntry.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

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