<?php

namespace App\Models;

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

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


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

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