package com.ruoyi.ss.article.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.ArticleClassify;
import lombok.Data;

/**
 * 文章对象 e_article
 *
 * @author qiuzhenzhao
 * @date 2023-12-06
 */
@Data
public class Article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章id */
    private Long articleId;

    /**分类id */
    @Excel(name = "分类id")
    private String classifyId;

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

    /** 运营区id */
    @Excel(name = "运营区id")
    private Long areaId;

    /** 运营区 */
    @Excel(name = "运营区")
    private String areaName;

    /** 运营商 */
    @Excel(name = "运营商")
    private String deptName;

    /** logo地址 */
    private String logo;

    /** 主图地址 */
    @Excel(name = "主图地址")
    private String masterPicture;

    /** 标签：以，分割 */
    @Excel(name = "标签：以，分割")
    private String tag;

    /** 是否热门 */
    @Excel(name = "是否热门")
    private String isHot;

    /** 简介 */
    private String introduction;

    /** 内容详情 */
    private String content;

    /** 作者 */
    private String author;

    /** 格式化日期 */
    private String formatCreateTime;

    private ArticleClassify classify;

    /** 代理商id */
    private Long agentId;

    @Excel(name = "代理商名称")
//    @TableField(exist = false)
    private String agentName;
}
