initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
interface DiagnoseRepositoryInterface
|
||||
{
|
||||
public function getAllDiagnoses();
|
||||
public function getCustomAllDiagnoses($customParameter, $id);
|
||||
public function getDiagnoseById($diagnoseId);
|
||||
public function deleteDiagnose($diagnoseId);
|
||||
public function createDiagnose(array $diagnoseData);
|
||||
public function updateDiagnose($diagnoseId, array $diagnoseData);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
interface DoctorRepositoryInterface
|
||||
{
|
||||
public function getAllDoctors();
|
||||
public function getDoctorById($doctorId);
|
||||
public function deleteDoctor($doctorId);
|
||||
public function createDoctor(array $doctorData);
|
||||
public function updateDoctor($doctorId, array $doctorData);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
interface PatientRepositoryInterface
|
||||
{
|
||||
public function getAllPatients();
|
||||
public function getPatientById($patientId);
|
||||
public function getManyPatientById($patientIds);
|
||||
public function deletePatient($patientId);
|
||||
public function createPatient(array $patientData);
|
||||
public function updatePatient($patientId, array $patientData);
|
||||
|
||||
public function getAllPatientsExceptDoctor($doctorId);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
interface UserRepositoryInterface
|
||||
{
|
||||
public function getAllUsers();
|
||||
public function getUserById($userId);
|
||||
public function deleteUser($userId);
|
||||
public function createUser(array $userData);
|
||||
public function updateUser($userId, array $userData);
|
||||
}
|
||||
Reference in New Issue
Block a user