feat: add /comment rout

This commit is contained in:
IgorVolochay
2025-03-06 16:28:09 +03:00
parent d05e62a032
commit f092e189c2
4 changed files with 60 additions and 4 deletions
+10 -1
View File
@@ -36,4 +36,13 @@ class Card(BaseModel):
author_id: int
creation_date: str
moderation_date: str = "Not moderated"
active_status: bool = False
active_status: bool = False
class Comment(BaseModel):
comment_id: int
author_id: int
card_id: int
commet_text: str
creation_date: str