<?php

namespace App;

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

class PageDescription extends Model
{
    // Disable timestamp
    public $timestamps = false;


    protected $fillable = [
        'title',
        'slug',
        'meta_description',
        'keywords',
        'description',
        'page_id',
        'language_id',
    ];

    /**
     * @return BelongsTo
     */
    public function page() :BelongsTo
    {
        return $this->belongsTo(Page::class);
    }
}
