Перевод на DDD

This commit is contained in:
brusnitsyn
2026-07-31 17:19:03 +09:00
parent 2dd55b9d11
commit 2c6d4a04cc
48 changed files with 1796 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
namespace App\Providers;
use App\Domain\Patient\Contracts\PatientRepositoryInterface;
use App\Infrastructure\Database\Repositories\Patient\PatientRepository;
use App\Models\DepartmentPatient;
use App\Models\ReportDuty;
use App\Models\ReportNurse;
@@ -24,6 +26,11 @@ class AppServiceProvider extends ServiceProvider
});
$this->app->singleton(CacheInvalidator::class);
$this->app->bind(
PatientRepositoryInterface::class,
PatientRepository::class
);
}
/**