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/GetDbAuditLogsQuery.cs |   91 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 91 insertions(+), 0 deletions(-)

diff --git a/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetDbAuditLogsQuery.cs b/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetDbAuditLogsQuery.cs
new file mode 100644
index 0000000..2efe265
--- /dev/null
+++ b/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetDbAuditLogsQuery.cs
@@ -0,0 +1,91 @@
+锘縰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 GetDbAuditLogsQuery : PagedListQuery<GetDbAuditLogsQueryResult, GetDbAuditLogsQueryResultItem>
+    {
+        /// <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 GetDbAuditLogsQueryResult : PagedListQueryResult<GetDbAuditLogsQueryResultItem>
+    {
+
+    }
+
+    /// <summary>
+    /// 鏌ヨ鏁版嵁搴撳璁℃棩蹇楀垎椤靛垪琛�-缁撴灉-椤�
+    /// </summary>
+    public class GetDbAuditLogsQueryResultItem
+    {
+        /// <summary>
+        /// 琛ㄥ悕
+        /// </summary>
+        public string TableName { get; set; }
+
+        /// <summary>
+        /// 涓婚敭
+        /// </summary>
+        public Guid PrimaryKey { get; set; }
+
+        /// <summary>
+        /// 鎿嶄綔
+        /// </summary>
+        public EnumDbAuditOperate Operate { get; set; }
+
+        /// <summary>
+        /// 鏃у��
+        /// </summary>
+        public string OldValues { get; set; }
+
+        /// <summary>
+        /// 鏂板��
+        /// </summary>
+        public string NewValues { 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