initial
This commit is contained in:
14
backend/app/schemas/common.py
Normal file
14
backend/app/schemas/common.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class MessageResponse(BaseModel):
|
||||
message: str
|
||||
|
||||
|
||||
class ErrorResponse(BaseModel):
|
||||
detail: str
|
||||
|
||||
|
||||
class PaginationParams(BaseModel):
|
||||
limit: int = 20
|
||||
offset: int = 0
|
||||
Reference in New Issue
Block a user