Antwortart (Auskunft/Angebot) und Reservierung sind entkoppelt (neue Einstellung inquiry_answer; pre_reservation bleibt die Reservierungsstrategie). Anlass-bezogene Absender für Anreise-Information und Bewertungsbitte; Schablonen liefern Standardwerte unterhalb aller einstellbaren Ebenen. A1/A2 bleiben Voreinstellungen und Altfassungen. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
57 lines
1.2 KiB
PHP
57 lines
1.2 KiB
PHP
<?php
|
||
|
||
namespace App\Process\Models;
|
||
|
||
use App\Enums\CaseType;
|
||
|
||
/**
|
||
* A1 – request on our own way answered with an information "unter Vorbehalt" (package 7).
|
||
*/
|
||
final class A1InformationModel extends InquiryModel
|
||
{
|
||
public static function key(): string
|
||
{
|
||
return 'a1.information';
|
||
}
|
||
|
||
public static function version(): int
|
||
{
|
||
return 1;
|
||
}
|
||
|
||
public static function label(): string
|
||
{
|
||
return 'Unverbindliche Auskunft';
|
||
}
|
||
|
||
public static function description(): string
|
||
{
|
||
return 'Die Anfrage reserviert nichts; der Gast erhält eine unverbindliche Auskunft, fragt die Buchung an, und wir bestätigen nach erneuter Prüfung verbindlich.';
|
||
}
|
||
|
||
public static function caseTypes(): array
|
||
{
|
||
return [CaseType::A1];
|
||
}
|
||
|
||
public static function isLegacy(): bool
|
||
{
|
||
return true;
|
||
}
|
||
|
||
public static function composedBy(): ?string
|
||
{
|
||
return 'inquiry.request';
|
||
}
|
||
|
||
public static function presetTemplates(): array
|
||
{
|
||
return ['inquiry_answer' => 'inquiry.information'];
|
||
}
|
||
|
||
public static function fixes(): array
|
||
{
|
||
return ['pre_reservation' => false];
|
||
}
|
||
}
|