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

66 lines
1.5 KiB
C#
Raw Normal View History

2024-04-10 13:55:27 +08:00
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// ISVLogSync Data Structure.
/// </summary>
[Serializable]
public class ISVLogSync : AopObject
{
/// <summary>
/// 应用名
/// </summary>
[JsonProperty("application")]
public string Application { get; set; }
/// <summary>
/// isv自定义错误码 该值传了表示接口调用业务失败或发生异常
/// </summary>
[JsonProperty("error_code")]
public string ErrorCode { get; set; }
/// <summary>
/// 错误信息
/// </summary>
[JsonProperty("error_msg")]
public string ErrorMsg { get; set; }
/// <summary>
/// 异常堆栈
/// </summary>
[JsonProperty("exception_stack_trace")]
public string ExceptionStackTrace { get; set; }
/// <summary>
/// 执行时长,毫秒数。如果能取到尽量传入,涉及到接口耗时的监控
/// </summary>
[JsonProperty("execution_millis")]
public string ExecutionMillis { get; set; }
/// <summary>
/// 接口全限定名 包含远程rpc和内部调用
/// </summary>
[JsonProperty("interface_name")]
public string InterfaceName { get; set; }
/// <summary>
/// T 成功 F 失败
/// </summary>
[JsonProperty("success")]
public string Success { get; set; }
/// <summary>
/// 回流数据类型
/// </summary>
[JsonProperty("sync_type")]
public string SyncType { get; set; }
/// <summary>
/// 时间戳
/// </summary>
[JsonProperty("timestamp")]
public string Timestamp { get; set; }
}
}