namespace YD_Event.Application.Blog.Dtos;
public class ArticleDetailOutput
{
///
/// 文章ID
///
public long Id { get; set; }
///
/// 标题
///
public string Title { get; set; }
///
/// 简介
///
public string Summary { get; set; }
///
/// 封面
///
public string Cover { get; set; }
///
/// 状态
///
public AvailabilityStatus Status { get; set; }
///
/// 原文地址
///
public string Link { get; set; }
///
/// 是否置顶
///
public bool IsTop { get; set; }
///
/// 排序
///
public int Sort { get; set; }
///
/// 作者
///
public string Author { get; set; }
///
/// 文章内容
///
public string Content { get; set; }
///
/// 是否允许评论
///
public bool IsAllowComments { get; set; }
///
/// 是个是HTML
///
public bool IsHtml { get; set; }
///
/// 创作类型
///
public CreationType CreationType { get; set; }
///
/// 过期时间(过期后文章不显示)
///
public DateTime? ExpiredTime { get; set; }
///
/// 标签
///
public List Tags { get; set; }
///
/// 栏目ID
///
public long? CategoryId { get; set; }
///
/// 发布时间
///
public DateTime PublishTime { get; set; }
}