using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
namespace Admin.NET.Core;
///
/// 导出日志数据
///
[ExcelExporter(Name = "日志数据", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
public class ExportLogDto
{
///
/// 记录器类别名称
///
[ExporterHeader(DisplayName = "记录器类别名称", IsBold = true)]
public string LogName { get; set; }
///
/// 日志级别
///
[ExporterHeader(DisplayName = "日志级别", IsBold = true)]
public string LogLevel { get; set; }
///
/// 事件Id
///
[ExporterHeader(DisplayName = "事件Id", IsBold = true)]
public string EventId { get; set; }
///
/// 日志消息
///
[ExporterHeader(DisplayName = "日志消息", IsBold = true)]
public string Message { get; set; }
///
/// 异常对象
///
[ExporterHeader(DisplayName = "异常对象", IsBold = true)]
public string Exception { get; set; }
///
/// 当前状态值
///
[ExporterHeader(DisplayName = "当前状态值", IsBold = true)]
public string State { get; set; }
///
/// 日志记录时间
///
[ExporterHeader(DisplayName = "日志记录时间", IsBold = true)]
public DateTime LogDateTime { get; set; }
///
/// 线程Id
///
[ExporterHeader(DisplayName = "线程Id", IsBold = true)]
public int ThreadId { get; set; }
///
/// 请求跟踪Id
///
[ExporterHeader(DisplayName = "请求跟踪Id", IsBold = true)]
public string TraceId { get; set; }
}