using Nuuru.Server.DTOs.Reaction;
namespace Nuuru.Server.DTOs.Booru
{
///
/// Data transfer object for comment display
///
public class CommentDto
{
public int Id { get; set; }
///
/// Rendered HTML content for display
///
public string ContentHtml { get; set; } = string.Empty;
///
/// Raw BBCode content (only included for the comment owner, for editing)
///
public string? ContentRaw { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime? EditedAt { get; set; }
public UploaderDto Author { get; set; } = null!;
public int PostId { get; set; }
///
/// Reactions on this comment
///
public ReactionDTO? Reactions { get; set; }
}
}