package com.zzsn.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.util.List;

@Data
public class EsBaseData implements Serializable {

    private String id;
    private String title;
    private String keywords;
    private String summary;
    private String author;
    private String sourceSite;
    private String sourceAddress;
    private String type;
    private String withTagFile;
    private String publishDate;
    private String createBy;
    private String createDate;
    private String content;
    private Long sid;
    private String lang;
    private Integer isDelete;
    private Long orgId;
    private String words;
    private Long hits;
    private String origin;
    private String contentNoTag;
    private String reliability;
    private String influence;
    private String orientation;
    private String sourceType;
    private String featureWords;
    private String fileDownLoadPath;
    private String contentImgCvtTag;
    private Integer reprintCount;
    private String fromWhere;
    //RELATE_PLACES 相关国家城市地点信息
    private String relatePlaces;
    //LOCALE 信息所属国别（国别，不是城市）
    private String locale;


    @Override
    public String toString() {
        return "EsBaseData{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", keywords='" + keywords + '\'' +
                ", summary='" + summary + '\'' +
                ", author='" + author + '\'' +
                ", sourceSite='" + sourceSite + '\'' +
                ", sourceAddress='" + sourceAddress + '\'' +
                ", type='" + type + '\'' +
                ", withTagFile='" + withTagFile + '\'' +
                ", publishDate='" + publishDate + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createDate='" + createDate + '\'' +
                ", content='" + content + '\'' +
                ", sid=" + sid +
                ", lang='" + lang + '\'' +
                ", isDelete=" + isDelete +
                ", orgId=" + orgId +
                ", words='" + words + '\'' +
                ", hits=" + hits +
                ", origin='" + origin + '\'' +
                ", contentNoTag='" + contentNoTag + '\'' +
                ", reliability='" + reliability + '\'' +
                ", influence='" + influence + '\'' +
                ", orientation='" + orientation + '\'' +
                ", sourceType='" + sourceType + '\'' +
                ", featureWords='" + featureWords + '\'' +
                ", fileDownLoadPath='" + fileDownLoadPath + '\'' +
                ", contentImgCvtTag='" + contentImgCvtTag + '\'' +
                ", reprintCount=" + reprintCount +
                ", fromWhere='" + fromWhere + '\'' +
                ", relatePlaces='" + relatePlaces + '\'' +
                ", locale='" + locale + '\'' +
                '}';
    }
}
