using Microsoft.Extensions.Logging;
namespace YD_Event.Application.Logging.Dtos;
public class OperationLogPageOutput
{
///
/// 日志ID
///
public long Id { get; set; }
///
/// 日志描述
///
public string Description { get; set; }
///
/// 日志级别
///
public LogLevel LogLevel { get; set; }
///
/// 日志详细信息
///
public string Message { get; set; }
///
/// 路由名称
///
public string ActionName { get; set; }
///
/// 控制器名称
///
public string ControllerName { get; set; }
///
/// 请求方式
///
public string HttpMethod { get; set; }
///
/// 状态码
///
public int HttpStatusCode { get; set; }
///
/// 耗时(毫秒)
///
public int Elapsed { get; set; }
///
/// 异常信息
///
public string Exception { get; set; }
///
/// 地理位置
///
public string Location { get; set; }
///
/// ip地址
///
public string RemoteIp { get; set; }
///
/// 客户端系统信息
///
public string OsDescription { get; set; }
///
/// 浏览器
///
public string UserAgent { get; set; }
///
/// 请求参数
///
public string Parameter { get; set; }
///
/// 响应参数
///
public string Response { get; set; }
///
/// 请求地址
///
public string RequestUrl { get; set; }
///
/// 操作人
///
public string Account { get; set; }
///
/// 操作时间
///
public DateTime CreatedTime { get; set; }
}