V2.1: Kanalfähigkeiten, Ausführungsvarianten, Dokumentenentkopplung, Portalbestätigung
Modellwahl über Kanalfähigkeiten mit erklärten Einschränkungen, Abgleich alter Werte, Ausführungsvarianten je Modul, getrennte Vertrags-/Buchungsinformation, Warten auf die Portalbestätigung mit Eskalation und Wiederaufnahme (Fälle C und D getestet). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ef1635e59a
commit
8442d0a3d8
62 files changed
+1818
-69
No files matched your search
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Process;
|
||||
|
||||
/**
|
||||
* Why something cannot be chosen or switched off – in a form the landlord can act on (docs/Prozessarchitektur/V2.1/02
|
||||
* §3.2): what stands in the way and of what kind it is, which other way is allowed, what exactly to change.
|
||||
*/
|
||||
final readonly class Restriction
|
||||
{
|
||||
public const BUSINESS = 'fachlich';
|
||||
|
||||
public const CAPABILITY = 'Kanalfähigkeit';
|
||||
|
||||
public const SECURITY = 'Schutzregel';
|
||||
|
||||
public function __construct(
|
||||
public string $kind,
|
||||
public string $reason,
|
||||
public ?string $alternative = null,
|
||||
public ?string $change = null,
|
||||
) {}
|
||||
|
||||
public function text(): string
|
||||
{
|
||||
return trim($this->reason.($this->alternative ? ' Zulässig ist stattdessen: '.$this->alternative.'.' : '').($this->change ? ' Änderung: '.$this->change.'.' : ''));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user