Перевод на DDD
This commit is contained in:
26
app/Domain/ReportDuty/DTO/MigrationSnapshotData.php
Normal file
26
app/Domain/ReportDuty/DTO/MigrationSnapshotData.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\ReportDuty\DTO;
|
||||
|
||||
class MigrationSnapshotData
|
||||
{
|
||||
public function __construct(
|
||||
public readonly int $id,
|
||||
public readonly int $medicalHistoryId, // будет заполнено после сохранения пациента
|
||||
public readonly ?string $ingoingDate,
|
||||
public readonly ?string $outDate,
|
||||
public readonly ?int $diagnosisId,
|
||||
public readonly ?string $diagnosisCode,
|
||||
public readonly ?string $diagnosisName,
|
||||
public readonly ?int $interruptedEventId,
|
||||
public readonly ?int $stationarBranchId,
|
||||
public readonly ?int $departmentId,
|
||||
public readonly ?int $visitResultId,
|
||||
public readonly ?int $statCureResultId,
|
||||
public readonly ?int $userId,
|
||||
public readonly ?int $misUserId,
|
||||
public readonly ?string $comment,
|
||||
public readonly array $reanimations = [],
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user