diff --git a/backend/forum.py b/backend/forum.py index dbfdce1..603f37c 100644 --- a/backend/forum.py +++ b/backend/forum.py @@ -20,6 +20,15 @@ class PostCreate(BaseModel): content: str +class Thread: + id: int + title: str + + def __init__(self, id, title): + self.id = id + self.title = title + + POSTS = []