Files
fewo-stommer/app/Process/Models/Point.php
T
LarsandClaude Opus 5.5 7e22e12cac U-A/U-B: Prozesskern mit Fachmodulen, versionierten Modellen, eingefrorenem Prozessplan, ProcessRunner (harte/weiche Abhängigkeiten), CasePricing, Loyalty nur im Tester
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>
2026-11-04 14:49:44 +01:00

31 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace App\Process\Models;
/**
* The fixed extension points of the process models (docs/Prozessarchitektur/Architektur/02 §5.1). A point guarantees
* what a module inserted there can rely on – BeforePriceFixing: the case is not binding yet; AfterBinding: it is.
* Adding a point changes every model that offers it (stage 4 of the module criteria, 02 §2).
*/
enum Point: string
{
case AfterGuestIdentified = 'after_guest_identified';
case BeforePriceFixing = 'before_price_fixing';
case BeforeBindingOffer = 'before_binding_offer';
case AfterBinding = 'after_binding';
case BeforeStay = 'before_stay';
case BeforeSettlement = 'before_settlement';
public function label(): string
{
return match ($this) {
self::AfterGuestIdentified => 'nach der Identifikation des Gastes',
self::BeforePriceFixing => 'vor der Preisfestlegung',
self::BeforeBindingOffer => 'vor dem verbindlichen Angebot',
self::AfterBinding => 'nach der Verbindlichkeit',
self::BeforeStay => 'vor dem Aufenthalt',
self::BeforeSettlement => 'vor dem Abschluss',
};
}
}