Renamed schemas to schema as per naming conventions

This commit is contained in:
2025-10-11 12:14:11 +02:00
parent 199be1f1b9
commit 1e2f211057
49 changed files with 285 additions and 3701 deletions

21
models/schema/base.py Normal file
View File

@@ -0,0 +1,21 @@
from typing import Generic, List, TypeVar
from pydantic import BaseModel
T = TypeVar("T")
class ListResponse(BaseModel, Generic[T]):
"""Generic list response model"""
items: List[T]
total: int
skip: int
limit: int
class StatusResponse(BaseModel):
"""Generic status response"""
success: bool
message: str