crappy
This commit is contained in:
16
schemas/client.py
Normal file
16
schemas/client.py
Normal 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]
|
||||
Reference in New Issue
Block a user