felicity-lims/felicity/apps/patient/repository.py
Aurthur Musendame cfac60443e code formatting
2024-09-22 17:15:27 +02:00

21 lines
585 B
Python

from felicity.apps.abstract.repository import BaseRepository
from felicity.apps.patient.entities import (
Identification,
Patient,
PatientIdentification,
)
class PatientRepository(BaseRepository[Patient]):
def __init__(self) -> None:
super().__init__(Patient)
class IdentificationRepository(BaseRepository[Identification]):
def __init__(self) -> None:
super().__init__(Identification)
class PatientIdentificationRepository(BaseRepository[PatientIdentification]):
def __init__(self) -> None:
super().__init__(PatientIdentification)