namespace Yes.Domain.Blogs { public class SinglePageModel { public int Id { get; set; } /// /// 作者ID /// public int UserId { get; set; } /// /// 标题 /// public string Title { get; set; } = string.Empty; public string Slug { get; set; } = string.Empty; /// /// 内容 /// public string Content { get; set; } = string.Empty; /// /// 封面图 /// [StringLength(200)] public string CoverUrl { get; set; } = string.Empty; /// /// 摘要 /// [StringLength(200)] public string Summary { get; set; } = string.Empty; /// /// 标签 /// [StringLength(50)] public string Tag { get; set; } = string.Empty; /// /// 发布时间 /// public DateTime PublishDate { get; set; } public DateTime CreateDate { get; set; } /// /// 修改时间 /// public DateTime ModifyDate { get; set; } /// /// 是否允许评论 /// public bool CanComment { get; set; } /// /// 评论数 /// public int CommentCount { get; set; } /// /// 排序值 /// public int Sort { get; set; } /// /// 文章类型 /// public ArticleTypeEnum Type { get; set; } /// /// 文章状态 /// public ArticleStatusEnum Status { get; set; } /// /// 阅读数 /// public int ReadCount { get; set; } public string Link { get; set; } = string.Empty; } }