<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PopularDaily extends Model
{
    public $table = 'popular_daily';

    /**
     * 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');
    }
}
