add grand project model, repository

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