package cn.iocoder.yudao.module.inspection.entity;

import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

/**
 * 【请填写功能名称】对象 inspection_news
 *
 * @author ruoyi
 * @date 2023-08-03
 */
@Data
public class InspectionNews extends TenantBaseDO
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 新闻标题 */
    @Excel(name = "新闻标题")
    private String newsTitle;
    private String category;
    /** 新闻封面 */
    @Excel(name = "新闻封面")
    private String newsCover;

    /** 发布单位 */
    @Excel(name = "发布单位")
    private String publishUnit;

    /** 新闻内容 */
    @Excel(name = "新闻内容")
    private String newsContent;
    private String videoUrl;
    /** 类型 */
    @Excel(name = "类型")
    private String type;

    private Integer orderNum;
    //阅读数量
    private Integer readNum;
    //点赞数量
    private Integer likeNum;
    //收藏数量
    private Integer collectNum;
    //发布人名称
    @TableField(exist = false)
    private String createName;
    @TableField(exist = false)
    private String isLike;
    @TableField(exist = false)
    private String isCollect;
    @TableField(exist = false)
    private String isRead;

}
