<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo as BelongsToAlias;

class VideoCategoryDescription extends Model
{
    // No Timestamp
    public $timestamps = false;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'name', 'slug', 'video_category_id', 'language_id', 'keywords', 'meta_description'
    ];


    /**
     * Return video category for video description
     * @return BelongsToAlias
     */
    public function category() :BelongsToAlias
    {
        return $this->belongsTo(VideoCategory::class);
    }

}
