using TakeoutSaaS.Shared.Abstractions.Entities;

namespace TakeoutSaaS.Domain.Engagement.Entities;

/// <summary>
/// 社区评论。
/// </summary>
public sealed class CommunityComment : MultiTenantEntityBase
{
    /// <summary>
    /// 动态标识。
    /// </summary>
    public long PostId { get; set; }

    /// <summary>
    /// 评论人。
    /// </summary>
    public long AuthorUserId { get; set; }

    /// <summary>
    /// 评论内容。
    /// </summary>
    public string Content { get; set; } = string.Empty;

    /// <summary>
    /// 父级评论 ID。
    /// </summary>
    public long? ParentId { get; set; }

    /// <summary>
    /// 状态。
    /// </summary>
    public bool IsDeleted { get; set; }
}
