using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlexJobApi.Core.Entities.Common
{
///
/// 资源日志
///
public class ResourceLog : CommonEntity, IDbAuditLogIgnore
{
///
/// 请求方式
///
public EnumResourceMethod Method { get; set; }
///
/// 域名
///
public string Domain { get; set; }
///
/// 地址
///
public string Path { get; set; }
///
/// 请求头
///
public string RequestHeaders { get; set; }
///
/// 请求参数
///
public string Request { get; set; }
///
/// 请求头
///
public string ResponseHeaders { get; set; }
///
/// 响应结果
///
public string Response { get; set; }
///
/// 是否成功
///
public bool IsSuccess { get; set; }
///
/// 客户端IP地址
///
public string ClientIpAddress { get; set; }
///
/// 来源地址
///
public string RefererUrl { get; set; }
///
/// 耗时毫秒数
///
public long ElapsedMilliseconds { get; set; }
}
}