实现加载md文档内容

This commit is contained in:
hogan
2019-01-10 16:42:20 +08:00
parent 676c0f07a7
commit d9c0ba52fa
15 changed files with 605 additions and 53 deletions

View File

@ -0,0 +1,58 @@
//using FreeSql.DataAnnotations;
using FreeSql.DataAnnotations;
using System;
namespace FreeSql.Site.Entity
{
public class DocumentComment
{
[Column(IsIdentity = true, IsPrimary = true)]
public int ID { get; set; }
/// <summary>
/// 功能类型(文章、模板、示例等)
/// </summary>
public int FunctionType { get; set; }
/// <summary>
/// 功能ID 文章、模板、示例等
/// </summary>
public int FunctionID { get; set; }
/// <summary>
/// 是否匿名访问
/// </summary>
public int IsAnonymous { get; set; }
/// <summary>
/// 评论人
/// </summary>
public string Commentator { get; set; }
/// <summary>
/// 评论者IP
/// </summary>
public string CommentatorIp { get; set; }
/// <summary>
/// 回复评论编号
/// </summary>
public int ReplyID { get; set; }
/// <summary>
/// 评论内容
/// </summary>
public string CommentContent { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateDt { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CreateBy { get; set; }
}
}