using System;
using GxPress.EnumConst;
using Datory;
using Datory.Annotations;
namespace GxPress.Entity
{
///
/// 文章定义
///
[DataTable("tede_article")]
public class Article : Datory.Entity
{
///
/// 标题
///
[DataColumn]
public string Title { get; set; }
///
/// 组id
///
[DataColumn]
public int GroupId { get; set; }
///
/// 标题图片
///
[DataColumn]
public string ImageUrls { get; set; }
///
/// 简介
///
[DataColumn]
public string Summary { get; set; }
///
/// 作者
///
[DataColumn]
public string Author { get; set; }
///
/// 来源
///
[DataColumn]
public string Source { get; set; }
///
/// Json内容
///
[DataColumn(Text = true)]
public string Blocks { get; set; }
///
/// 审核状态
///
[DataColumn]
public bool IsChecked { get; set; }
///
/// 添加时间
///
[DataColumn]
public DateTime AddDate { get; set; }
///
/// 排序
///
[DataColumn]
public int Sort { get; set; }
///
/// 文章阅读量
///
[DataColumn]
public int ReadCount { get; set; }
///
/// 是否置顶
///
[DataColumn]
public bool IsTop { get; set; }
}
}