Führe Übungen als Fassungen mit Varianten, Verwendung und Mitgliederausgabe ein
CI Feature / test (push) Successful in 3m32s

Neuer kind 'exercise', Varianten je Fassung, Verwendung (erforderlich/ergänzend) und Variantenauswahl am einbindenden
Mitglied; der Stand schreibt nur gewählte Varianten fest. Änderungsnachweis über structure_hash. Formatierte Anleitung
im Mitgliederbereich und PDF (Fußzeile, Metadaten, Ausgabenachweis, keine gespeicherten Kopien); Sperre trifft nur das
Medium.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-23 16:52:01 +01:00
1 parent ef56befc0e
commit d1f97a351a
26 files changed
+1628 -15

No files matched your search

@@ -17,6 +17,9 @@ class CompositionVersion extends Model
'learning_goal',
'duration_minutes',
'material_note',
'duration_max',
'prerequisites',
'structure_hash',
];
protected function casts(): array
@@ -60,6 +63,11 @@ public function members(): HasMany
return $this->hasMany(CompositionMember::class)->orderBy('position');
}
public function variants(): HasMany
{
return $this->hasMany(CompositionVersionVariant::class)->orderBy('position');
}
public function attestations(): HasMany
{
return $this->hasMany(CompatibilityAttestation::class);