<?php

/*
    Created by Mohamed.
*/


namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class PageTag extends Model
{
    protected $fillable = [
        'page_id',
        'value',
    ];

    public $timestamps = false;
    /**
     * Get the page that this tag belongs to.
     */
    public function page()
    {
        return $this->belongsTo(Page::class, 'page_id', 'id');
    }
}