zwischencommit

This commit is contained in:
Nils Bonorden committed 2025-10-28 21:51:43 +01:00
1 parent bdb62a6ce2
commit ed07d3ef70
8 files changed
+263 -5

No files matched your search

+11
View File
@@ -28,4 +28,15 @@ class Bewerbung extends Model
'start_at' => 'datetime',
'end_at' => 'datetime',
];
// app/Models/Bewerbung.php
public function applications()
{
return $this->hasMany(\App\Models\BandApplication::class, 'bewerbung_id');
}
public function getRouteKeyName()
{
return 'slug';
}
}