using System;

namespace CncModels.Entity
{
    /// <summary>
    /// log_collect_raw 原始采集JSON表
    /// </summary>
    public class CollectRaw
    {
        /// <summary>主键ID</summary>
        public long Id { get; set; }

        /// <summary>采集地址ID</summary>
        public int CollectAddressId { get; set; }

        /// <summary>请求时间</summary>
        public DateTime RequestTime { get; set; }

        /// <summary>响应时间</summary>
        public DateTime ResponseTime { get; set; }

        /// <summary>响应时长</summary>
        public int? ResponseDuration { get; set; }

        /// <summary>是否成功</summary>
        public int IsSuccess { get; set; }

        /// <summary>状态码</summary>
        public int? StatusCode { get; set; }

        /// <summary>原始JSON</summary>
        public string RawJson { get; set; }

        /// <summary>错误信息</summary>
        public string ErrorMessage { get; set; }

        /// <summary>创建时间</summary>
        public DateTime CreatedAt { get; set; }
    }
}
