初步完成Log的增删改查

This commit is contained in:
2025-09-07 19:01:58 +08:00
parent 1f9c0a1111
commit 0e4a306fa7
12 changed files with 596 additions and 34 deletions

View File

@@ -0,0 +1,15 @@
using DMS.Core.Models;
namespace DMS.Core.Interfaces.Repositories;
/// <summary>
/// Nlog日志仓储接口定义了对Nlog实体的特定数据访问方法。
/// 继承自通用仓储接口 IBaseRepository<Nlog>。
/// </summary>
public interface INlogRepository : IBaseRepository<Nlog>
{
// 可以在此处添加 Nlog 特定的查询方法,例如:
// Task<List<Nlog>> GetLogsByLevelAsync(string level);
// Task<List<Nlog>> GetLogsByDateRangeAsync(DateTime startDate, DateTime endDate);
// Task<List<Nlog>> SearchLogsAsync(string searchTerm);
}