Public Access
zwischencommit
This commit is contained in:
1 parent
bdb62a6ce2
commit
ed07d3ef70
8 files changed
+263
-5
No files matched your search
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user