add grand project model, repository

This commit is contained in:
shahzeydyfah
2024-02-22 11:47:41 +03:30
parent 16a1b0492b
commit c7b274a6be
3 changed files with 51 additions and 1 deletions
+1 -1
View File
@@ -2,6 +2,6 @@ from app.models.grand_project import GrandProjectModel
from core.repositories.base import BaseRepository
COLLECTION = "grand_project"
class GrandProject(BaseRepository[GrandProjectModel]):
class GrandProjectRepository(BaseRepository[GrandProjectModel]):
def __init__(self):
super().__init__(collection=COLLECTION, model=GrandProjectModel)