CaseActivities/CaseAutomation sind Fassaden über ProcessRunner. Verhaltensvergleich v0.11: 11 Abläufe und 198 Konstellationen gleich, beabsichtigte Abweichungen I-004/I-005 (F-001/F-002). Volle Suite vor U-B: 785/785. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
48 lines
1.0 KiB
PHP
48 lines
1.0 KiB
PHP
<?php
|
||
|
||
namespace App\Process\Models;
|
||
|
||
use App\Enums\CaseType;
|
||
use App\Enums\Responsibility;
|
||
|
||
/**
|
||
* A2 – request of an intermediary answered with our own binding offer.
|
||
*/
|
||
final class A2OfferModel extends InquiryModel
|
||
{
|
||
public static function key(): string
|
||
{
|
||
return 'a2.offer';
|
||
}
|
||
|
||
public static function version(): int
|
||
{
|
||
return 1;
|
||
}
|
||
|
||
public static function label(): string
|
||
{
|
||
return 'Portalanfrage mit Angebot';
|
||
}
|
||
|
||
public static function description(): string
|
||
{
|
||
return 'Die Anfrage eines Portals wird wie eine eigene behandelt: fehlende Angaben ergänzen, Zeitraum reservieren, verbindliches Angebot, Annahme.';
|
||
}
|
||
|
||
public static function caseTypes(): array
|
||
{
|
||
return [CaseType::A2];
|
||
}
|
||
|
||
public static function fixes(): array
|
||
{
|
||
return ['pre_reservation' => true];
|
||
}
|
||
|
||
protected static function guestMessageOptions(): array
|
||
{
|
||
return [Responsibility::Landlord, Responsibility::Portal];
|
||
}
|
||
}
|