package com.ruoyi.frequency.news.entity.model.result;

import lombok.Data;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新闻对象 t_news
 * 
 * @author liwenlong
 * @date 2024-03-19
 */
@Data
@Accessors(chain = true)
public class NewsResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("租户号")
    private Long id;

    @ApiModelProperty("删除标志;1 正常 2 删除 3 禁用")
    private Long delFlag;

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

    @ApiModelProperty("图片")
    @Excel(name = "图片")
    private String image;

    @ApiModelProperty("父id;上级id")
    @Excel(name = "父id;上级id")
    private Long pid;

    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Long sort;

    @ApiModelProperty("新闻草稿ID")
    @Excel(name = "新闻草稿ID")
    private Long newsDraftId;


}
