package com.ruoyi.hezhi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 新闻咨询对象 tb_news
 *
 * @author ruoyi
 * @date 2024-09-14
 */
@Getter
@Setter
@ToString
public class TbNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 新闻id */
    private Long newsId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String showImg;

    /** 简述 */
    @Excel(name = "简述")
    private String prospectus;

    /** 发布人 */
    @Excel(name = "发布人")
    private String publisher;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publicationTime;

    /** 内容 */
    private String content;

    /** 删除标记(0-正常,1-删除) */
    private Integer delFlag;

    /** 删除时间 */
    private Date deleteTime;

    /** 删除人 */
    private String deleteBy;

}
