//using FreeSql.DataAnnotations;
using FreeSql.DataAnnotations;
using System;
namespace FreeSql.Site.Entity
{
///
/// 数据库实体
///
public class DocumentContent
{
[Column(IsIdentity = true, IsPrimary = true)]
public int ID { get; set; }
///
/// 类型编号
///
public int TypeID { get; set; }
///
/// 标题
///
public string DocTitle { get; set; }
///
/// 摘要
///
public string DocAbstract { get; set; }
///
/// 文档内容
///
[Column(DbType = "text")]
public string DocContent { get; set; }
///
/// 状态
///
public int Status { get; set; }
///
/// 查看次数
///
public int WatchCount { get; set; }
///
/// Star统计
///
public int StarCount { get; set; }
///
/// 创建时间
///
public DateTime? CreateDt { get; set; }
///
/// 创建人
///
public string CreateBy { get; set; }
///
/// 修改时间
///
public DateTime? UpdateDt { get; set; }
///
/// 修改人
///
public string UpdateBy { get; set; }
}
///
/// 返回实体内容
///
public class DocumentContentView : DocumentContent
{
}
}