chore: further cleanup and refactor

This commit is contained in:
Björn Fromme
2026-04-19 15:45:02 +02:00
parent 5a0bf11c81
commit 80969d1da0
21 changed files with 606 additions and 321 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace App\Model;
final readonly class BookingEditSubmissionResult
{
public const string STATUS_BOOKING_DATA_RELOAD_FAILED = 'booking_data_reload_failed';
public const string STATUS_NOTIFICATION_ERROR = 'notification_error';
public const string STATUS_NOTIFICATION_INFO = 'notification_info';
public const string STATUS_SUCCESS = 'success';
public const string STATUS_UNSUCCESSFUL = 'unsuccessful';
public const string STATUS_TIMEOUT = 'timeout';
public const string STATUS_API_CLIENT_ERROR = 'api_client_error';
public function __construct(
public string $status,
public ?string $message = null,
public bool $immutableChangesReverted = false,
) {
}
}