This commit is contained in:
2024-03-04 04:15:01 +03:00
parent d870f1cffe
commit bf24c791fc
12 changed files with 116 additions and 13 deletions

16
schemas/client.py Normal file
View File

@@ -0,0 +1,16 @@
from typing import List
from schemas.base import CustomModel
class ClientSchema(CustomModel):
id: int
name: str
class ClientSearchRequest(CustomModel):
name: str
class ClientSearchResponse(CustomModel):
clients: List[ClientSchema]