This commit is contained in:
2024-03-03 07:22:42 +03:00
parent 804b658c6e
commit d870f1cffe
27 changed files with 303 additions and 78 deletions

18
schemas/deal.py Normal file
View File

@@ -0,0 +1,18 @@
from schemas.base import CustomModel
class DealChangeStatusRequest(CustomModel):
deal_id: int
new_status: int
class DealChangeStatusResponse(CustomModel):
ok: bool
class DealCreateRequest(CustomModel):
name: str
class DealCreateResponse(CustomModel):
ok: bool