<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PopularWeekly extends Model
{
    public $table = 'popular_weekly';

    /**
     * The attributes that are mass assignable.
     *
     * @var string[]
     */
    protected $fillable = ['episode_id'];

    /**
     * Get the Episode.
     */
    public function episode()
    {
        return $this->belongsTo(Episode::class, 'episode_id');
    }
}
