feat: add /comment rout
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user