This commit is contained in:
2025-09-18 15:31:27 +02:00
commit 2abba0c2b7
406 changed files with 31879 additions and 0 deletions

25
app/Models/Playlist.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Model;
class Playlist extends Model
{
/**
* Belongs To A User.
*/
public function user()
{
return $this->belongsTo(User::class);
}
/**
* Has Many Episodes.
*/
public function episodes(): HasMany
{
return $this->hasMany(PlaylistEpisode::class);
}
}