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 { /// /// 链接地址 /// [Required] public string Url { get; set; } /// /// 请求方式 /// [Required] [MaxLength(6)] public string Method { get; set; } /// /// 请求头 /// public string Headers { get; set; } /// /// 请求参数 /// public string Request { get; set; } /// /// 回调数据 /// public string Callback { get; set; } /// /// 是否成功 /// public bool IsSuccess { get; set; } /// /// 客户端IP地址 /// public string ClientIpAddress { get; set; } /// /// 耗时毫秒数 /// public long ElapsedMilliseconds { get; set; } } }