Initial Commit

This commit is contained in:
2025-11-06 14:15:50 +00:00
commit 9f5c6a9647
6 changed files with 117 additions and 0 deletions

11
dto/post.py Normal file
View File

@@ -0,0 +1,11 @@
class Post:
def __init__(self, author, title, content, url, timestamp):
self.author = author
self.title = title
self.content = content
self.url = url
self.timestamp = timestamp
# Optionals
self.subreddit = None
self.upvotes = None