From ad416d4966707f3c92471a5342549d94a8a6526b Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Sat, 17 Jan 2026 13:59:35 +0000 Subject: [PATCH] Add Comment DTO --- dto/comment.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dto/comment.py diff --git a/dto/comment.py b/dto/comment.py new file mode 100644 index 0000000..7b1cd10 --- /dev/null +++ b/dto/comment.py @@ -0,0 +1,16 @@ +class Comment: + def __init__(self, + id: str, + post_id: str, + author: str, + content: str, + timestamp: float, + reply_to: str, + source: str): + self.id = id + self.post_id = post_id + self.author = author + self.content = content + self.timestamp = timestamp + self.reply_to = reply_to + self.source = source