5 use Illuminate\Database\Eloquent\Factories\HasFactory;
6 use Illuminate\Database\Eloquent\Model;
8 class Episode extends Model
13 public function channels() {
14 return $this->belongsToMany(Channel::class);
17 public function crew() {
18 return $this->hasMany(EpisodeCrew::class);
21 public function event() {
22 return $this->belongsTo(Event::class);
25 public function players() {
26 return $this->hasMany(EpisodePlayer::class);
30 'confirmed' => 'boolean',
31 'start' => 'datetime',