using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlexJobApi.Core
{
///
/// 跟踪Id日志查询
///
[Resource([EnumResourceController.LogRecords])]
public class GetTraceIdLogQuery : IRequest
{
///
/// 跟踪Id
///
public string TraceId { get; set; }
}
///
/// 跟踪Id日志查询
///
public class GetTraceIdLogQueryResult
{
public GetTraceIdLogQueryResult()
{
ResourceLogs = [];
ExceptionLogs = [];
DbAuditLogs = [];
}
///
/// 资源日志
///
public List ResourceLogs { get; set; }
///
/// 异常日志
///
public List ExceptionLogs { get; set; }
///
/// 数据库审计日志
///
public List DbAuditLogs { get; set; }
}
}