namespace YD_Event.Core.Entities;
///
/// 评论表
///
public class Comments : Entity, ISoftDelete, ICreatedTime
{
///
/// 对应模块ID(null表留言,0代表友链的评论)
///
public long? ModuleId { get; set; }
///
/// 顶级楼层评论ID
///
public long? RootId { get; set; }
///
/// 被回复的评论ID
///
public long? ParentId { get; set; }
///
/// 当前评论人ID
///
public long AccountId { get; set; }
///
/// 回复人ID
///
public long? ReplyAccountId { get; set; }
///
/// 评论内容
///
[SugarColumn(Length = 1024)]
public string Content { get; set; }
///
/// Ip地址
///
[SugarColumn(Length = 128)]
public string IP { get; set; }
///
/// IP所属地
///
[SugarColumn(Length = 128)]
public string Geolocation { get; set; }
///
/// 标记删除
///
public bool DeleteMark { get; set; }
///
/// 创建时间
///
public DateTime CreatedTime { get; set; }
}