namespace ZR.LiveForum.Model.Liveforum
{
///
/// 论坛帖子
///
[SugarTable("T_Posts")]
[Tenant("liveforum")]
public class T_Posts
{
///
/// id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 用户ID
///
public long UserId { get; set; }
///
/// 标题
///
public string Title { get; set; }
///
/// 封面图片
///
public string? CoverImage { get; set; }
///
/// 正文内容
///
public string Content { get; set; }
///
/// 分类ID
///
public int? CategoryId { get; set; }
///
/// 浏览次数
///
public int? ViewCount { get; set; }
///
/// 点赞数量
///
public int? LikeCount { get; set; }
///
/// 评论数量
///
public int? CommentCount { get; set; }
///
/// 分享次数
///
public int? ShareCount { get; set; }
///
/// 是否置顶
///
public bool IsTop { get; set; }
///
/// 是否热门
///
public bool IsHot { get; set; }
///
/// 是否精华
///
public bool IsEssence { get; set; }
///
/// 帖子状态
///
public int Status { get; set; }
///
/// 发布时间
///
public DateTime? PublishTime { get; set; }
///
/// 是否已删除
///
public bool IsDeleted { get; set; }
///
/// 删除时间
///
public DateTime? DeletedAt { get; set; }
///
/// 创建时间
///
public DateTime? CreatedAt { get; set; }
///
/// 更新时间
///
public DateTime? UpdatedAt { get; set; }
}
}