package org.dromara.system.domain.vo;

import org.dromara.system.domain.Article;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 文章(可用于活动预热)视图对象 article
 *
 * @author Lion Li
 * @date 2025-08-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Article.class)
public class ArticleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 赛事id
     */
    @ExcelProperty(value = "赛事id")
    private Long eventId;

    /**
     * 赛事标题
     */
    private String eventName;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String content;

    /**
     * 文章类型
     */
    @ExcelProperty(value = "文章类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "article_type")
    private Long type;

    /**
     * 是否展示 0:展示 1:隐藏
     */
    @ExcelProperty(value = "是否展示 0:展示 1:隐藏")
    private String status;


}
