using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 

namespace CsvCount_ES.ResultModel
{
 

    [Serializable()]
    public class ResultItem 
    {


        public ResultItem()
        {

        }

        /// <summary>
        /// 文章ID
        /// </summary>
        public string ItemID { get; set; }

        /// <summary>
        /// 点击的次数
        /// </summary>
        public int ClickCount { get; set; }

        /// <summary>
        /// 文章Url
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string CleanTitle { get; set; }


        /// <summary>
        /// 正文
        /// </summary>
        public string CleanText { get; set; }

        /// <summary>
        /// 标题分词结果
        /// </summary>
        public string SpliteTitle { get; set; }

        /// <summary>
        /// 正文分词结果
        /// </summary>
        public string SpliteText { get; set; }

    
        /// <summary>
        /// 页面显示发布时间(格式化的)
        /// </summary> 
        public string PubDate { get; set; }
         

        /// <summary>
        /// 媒体名称（分词索引）
        /// </summary>
        public string MediaName { get; set; }


        /// <summary>
        /// 相似转载ID（早先入库的相似文章ID，第一篇该字段为空，其他均为第一篇的ID）
        /// </summary>
        public string DuplicationID { get; set; }


        ///<summary>
        ///合并模型
        ///</summary> 
        public ResultItemAnalyzeData AnalyzeData { get; set; }


    }

    /// <summary>
    /// 语义分析结果(每Issue可不同)
    /// </summary>
    [Serializable]
    public class ResultItemAnalyzeData
    {
        /// <summary>
        /// 品类/市场编号
        /// </summary>
        public string[] MarketIDs { set; get; }
        /// <summary>
        /// 主题/板块编号
        /// </summary>
        public string[] BlockIDs { set; get; }
        /// <summary>
        /// 股票编号
        /// </summary>
        public string[] StockIDs { set; get; }

        /// <summary>
        /// IG Tree
        /// </summary>
        public string IG { set; get; }
         
        public ResultItemAnalyzeData()
        {

        }

    }

}