using System;

namespace CncModels.Entity
{
    /// <summary>
    /// cnc_collect_address 采集地址表
    /// </summary>
    public class CollectAddress
    {
        /// <summary>主键ID</summary>
        public int Id { get; set; }

        /// <summary>名称</summary>
        public string Name { get; set; }

        /// <summary>地址URL</summary>
        public string Url { get; set; }

        /// <summary>品牌ID</summary>
        public int BrandId { get; set; }

        /// <summary>采集间隔（秒/单位未约定以整型表示）</summary>
        public int CollectInterval { get; set; }

        /// <summary>是否启用</summary>
        public int IsEnabled { get; set; }

        /// <summary>最近采集时间</summary>
        public DateTime? LastCollectTime { get; set; }

        /// <summary>最近采集状态</summary>
        public string LastCollectStatus { get; set; }

        /// <summary>失败次数</summary>
        public int FailCount { get; set; }

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

        /// <summary>修改时间</summary>
        public DateTime UpdatedAt { get; set; }
    }
}
