package com.goldenwater.slgc.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Schema(description = "内容文章实体")
@Data
public class CmsArticle {
    @Schema(description = "文章ID")
    private String aid;
    @Schema(description = "业务部门")
    private String bizDept;
    @Schema(description = "分类ID")
    private String cateId;
    @Schema(description = "标题")
    private String title;
    @Schema(description = "副标题")
    private String subtitle;
    @Schema(description = "关键词")
    private String keyword;
    @Schema(description = "是否图片新闻")
    private String isImage;
    @Schema(description = "缩略图")
    private String thumbnail;
    @Schema(description = "来源")
    private String source;
    @Schema(description = "摘要")
    private String summary;
    @Schema(description = "状态")
    private String status;
    @Schema(description = "发布人")
    private String pubUser;
    @Schema(description = "发布日期")
    private Date pubDate;
    @Schema(description = "截止日期")
    private Date dueDate;
    @Schema(description = "审核人")
    private String auditUser;
    @Schema(description = "审核日期")
    private Date auditDate;
    @Schema(description = "是否置顶")
    private String isTop;
    @Schema(description = "是否删除")
    private String isDel;
    @Schema(description = "是否允许评论")
    private String isComment;
    @Schema(description = "浏览次数")
    private Integer viewCount;
    @Schema(description = "评论次数")
    private Integer commentCount;
    @Schema(description = "文章内容")
    private String content;
    @Schema(description = "发布平台")
    private String pubPlatform;
    @Schema(description = "标题颜色")
    private String titleColor;
    @Schema(description = "类型")
    private String type;

    /** 文章文件列表 */
    private List<CmsArticleFile> articleFiles;
}
