新增读取文档帮助

This commit is contained in:
hogan
2019-01-28 17:30:59 +08:00
parent 054f85de36
commit 0d427e0b8a
139 changed files with 4384 additions and 1146 deletions

View File

@ -7,16 +7,16 @@ namespace FreeSql.Site.Entity
public class BaseEntity
{
[Column(IsIdentity = true, IsPrimary = true)]
public int ID { get; set; }
public int ID { get; set; } = 0;
/// <summary>
/// 状态
/// </summary>
public int Status { get; set; }
public int Status { get; set; } = 1;
public DateTime? CreateDt { get; set; }
public DateTime? CreateDt { get; set; } = DateTime.Now;
public string CreateBy { get; set; }
public string CreateBy { get; set; } = "admin";
}
}

View File

@ -24,6 +24,21 @@ namespace FreeSql.Site.Entity
/// </summary>
public string DocAbstract { get; set; }
/// <summary>
/// 内容来源类型0 当前记录 1=Url地址
/// </summary>
public int OriginType { get; set; }
/// <summary>
/// 来源地址
/// </summary>
public string OriginUrl { get; set; }
/// <summary>
/// 编辑器模式 =0 Markdown =1 HTML编辑器
/// </summary>
public int EditorMode { get; set; }
/// <summary>
/// 文档内容
/// </summary>