package com.cslg.ppa.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("article_info")
public class ArticleInfo extends BaseEntity<ArticleInfo> {

    //资讯标题
    @TableField(value = "title")
    private String title;

    //摘要
    @TableField(value = "digest")
    private String digest;

    //类别 1 国家知识产权局 2 地方相关法律法规 3 判例   4国外相关资讯 5 行业资讯
    @TableField(value = "category_id")
    private Integer categoryId;

    //来源id
    @TableField(value = "source_id")
    private Integer sourceId;

    //资讯发布时间
    @TableField(value = "public_time")
    private Date publicTime;

    //创建时间
    @TableField(value = "create_time")
    private Date createTime;

    //资讯链接
    @TableField(value = "article_url")
    private String articleUrl;

    //公众号资讯图标
    @TableField(value = "wx_article_icon")
    private String wxArticleIcon;

    //pct摘要
    @TableField(value = "pct_digest")
    private String pctDigest;
}
