feat: add create request
This commit is contained in:
@@ -5,6 +5,10 @@ from src.application.domain.entities.organization import PurchaseRequestEntity
|
||||
|
||||
|
||||
class IPurchaseRequestRepository(ABC):
|
||||
@abstractmethod
|
||||
async def create(self, values: dict[str, Any]) -> PurchaseRequestEntity:
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
async def get_by_id(self, request_id: str) -> PurchaseRequestEntity:
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user