Model Behavior Traits ​
These traits modify how individual model instances behave: slug routing, UUID keys, position ordering, dynamic spread attributes, state machines, and presenter patterns.
| Trait | Description |
|---|---|
| HasSlug | Slug generation, locale-aware slug storage, and resolveRouteBinding override |
| HasUuid | Ordered UUID primary key replacing auto-increment |
| HasPosition | Integer position column with auto-assignment and drag-and-drop reorder |
| HasSpreadable | Arbitrary JSON attributes stored in a Spread morph record, surfaced as model properties |
| HasStateable | State machine backed by Stateable morph and shared states table |
| HasPresenter | Lightweight presenter pattern wrapping the model in a display class |