feat: Implement admin user management endpoints and user update schema
This commit is contained in:
17
app/repositories/plan.py
Normal file
17
app/repositories/plan.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""Plan repository."""
|
||||
|
||||
from sqlmodel.ext.asyncio.session import AsyncSession
|
||||
|
||||
from app.core.logging import get_logger
|
||||
from app.models.plan import Plan
|
||||
from app.repositories.base import BaseRepository
|
||||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
|
||||
class PlanRepository(BaseRepository[Plan]):
|
||||
"""Repository for plan operations."""
|
||||
|
||||
def __init__(self, session: AsyncSession) -> None:
|
||||
"""Initialize the plan repository."""
|
||||
super().__init__(Plan, session)
|
||||
Reference in New Issue
Block a user