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>
51 lines
1.4 KiB
PHP
51 lines
1.4 KiB
PHP
<?php
|
||
|
||
namespace App\Process\Models;
|
||
|
||
use App\Enums\CaseType;
|
||
use App\Enums\Responsibility;
|
||
|
||
/**
|
||
* A3 – binding portal booking with our own handling (e.g. Destination Solutions, R08).
|
||
*/
|
||
final class A3PortalBookingModel extends PortalBookingModel
|
||
{
|
||
public static function key(): string
|
||
{
|
||
return 'a3.portal_booking';
|
||
}
|
||
|
||
public static function version(): int
|
||
{
|
||
return 1;
|
||
}
|
||
|
||
public static function label(): string
|
||
{
|
||
return 'Portalbuchung, eigene Abwicklung';
|
||
}
|
||
|
||
public static function description(): string
|
||
{
|
||
return 'Das Portal bestätigt verbindlich; Vertragsunterlagen, Zahlungsforderung und -überwachung sowie Gastkommunikation übernehmen wir.';
|
||
}
|
||
|
||
public static function caseTypes(): array
|
||
{
|
||
return [CaseType::A3];
|
||
}
|
||
|
||
public static function responsibilities(): Responsibilities
|
||
{
|
||
return Responsibilities::of(
|
||
fixed: ['contract' => Responsibility::Portal, 'collection' => Responsibility::Landlord, 'contract_documents' => Responsibility::Landlord],
|
||
variable: ['guest_messages' => [Responsibility::Landlord], 'supplementary_documents' => [Responsibility::Landlord, Responsibility::Nobody], 'local_services' => [Responsibility::Landlord]],
|
||
);
|
||
}
|
||
|
||
public static function fixes(): array
|
||
{
|
||
return ['payments' => 'landlord', 'documents' => 'landlord'];
|
||
}
|
||
}
|