feat: status and board in deal schema
This commit is contained in:
@ -2,6 +2,8 @@ from datetime import datetime
|
||||
from typing import Optional
|
||||
|
||||
from schemas.base import BaseSchema, BaseResponse, PaginationInfoSchema
|
||||
from schemas.board import BoardSchema
|
||||
from schemas.status import StatusSchema
|
||||
|
||||
|
||||
# region Entities
|
||||
@ -11,8 +13,8 @@ class DealSchema(BaseSchema):
|
||||
id: int
|
||||
name: str
|
||||
lexorank: str
|
||||
status_id: int
|
||||
board_id: int
|
||||
status: StatusSchema
|
||||
board: BoardSchema
|
||||
created_at: datetime
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user