mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
21 lines
574 B
Python
21 lines
574 B
Python
from felicity.apps.abstract.repository import BaseRepository
|
|
from felicity.apps.notification.entities import (
|
|
ActivityFeed,
|
|
ActivityStream,
|
|
Notification,
|
|
)
|
|
|
|
|
|
class ActivityFeedRepository(BaseRepository[ActivityFeed]):
|
|
def __init__(self) -> None:
|
|
super().__init__(ActivityFeed)
|
|
|
|
|
|
class ActivityStreamRepository(BaseRepository[ActivityStream]):
|
|
def __init__(self) -> None:
|
|
super().__init__(ActivityStream)
|
|
|
|
|
|
class NotificationRepository(BaseRepository[Notification]):
|
|
def __init__(self) -> None:
|
|
super().__init__(Notification)
|