From a59e5d99a77fcb152e6fe49df78f69cb5fd6c5a0 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 19 八月 2025 15:58:10 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetExceptionLogsQuery.cs | 85 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 85 insertions(+), 0 deletions(-) diff --git a/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetExceptionLogsQuery.cs b/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetExceptionLogsQuery.cs new file mode 100644 index 0000000..9c78884 --- /dev/null +++ b/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetExceptionLogsQuery.cs @@ -0,0 +1,85 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace FlexJobApi.Core +{ + /// <summary> + /// 寮傚父鏃ュ織鍒嗛〉鍒楄〃鏌ヨ + /// </summary> + [Resource([EnumResourceController.LogRecords])] + public class GetExceptionLogsQuery : PagedListQuery<GetExceptionLogsQueryResult, GetExceptionLogsQueryResultItem> + { + /// <summary> + /// 璺熻釜Id + /// </summary> + public string TraceId { get; set; } + + /// <summary> + /// 鍏抽敭瀛� + /// </summary> + public string Keywords { get; set; } + + /// <summary> + /// 鍒涘缓鏃堕棿-璧峰 + /// </summary> + public DateTime? CreatedTimeBegin { get; set; } + + /// <summary> + /// 鍒涘缓鏃堕棿-鎴 + /// </summary> + public DateTime? CreatedTimeEnd { get; set; } + } + + /// <summary> + /// 寮傚父鏃ュ織鍒嗛〉鍒楄〃鏌ヨ-缁撴灉 + /// </summary> + public class GetExceptionLogsQueryResult : PagedListQueryResult<GetExceptionLogsQueryResultItem> + { + + } + + /// <summary> + /// 寮傚父鏃ュ織鍒嗛〉鍒楄〃鏌ヨ-缁撴灉-椤� + /// </summary> + public class GetExceptionLogsQueryResultItem + { + /// <summary> + /// 绫诲瀷 + /// </summary> + public string Type { get; set; } + + /// <summary> + /// 浠g爜 + /// </summary> + public string Code { get; set; } + + /// <summary> + /// 娑堟伅 + /// </summary> + public string Message { get; set; } + + /// <summary> + /// 鍫嗘爤璺熻釜 + /// </summary> + public string StackTrace { get; set; } + + /// <summary> + /// 鎿嶄綔浜篒d + /// </summary> + public Guid? CreatedUserId { get; set; } + + /// <summary> + /// 鎿嶄綔浜� + /// </summary> + public GetResourceLogsQueryResultItemCreatedUser CreatedUser { get; set; } + + /// <summary> + /// 鍒涘缓鏃堕棿 + /// </summary> + public DateTimeOffset CreatedTime { get; set; } + } +} -- Gitblit v1.9.1