<?php

namespace App\Models\Webprofile;

use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
use App\Models\Webprofile\Categories;
use App\Models\Webprofile\En\Pages as EnPages;

class Pages extends Model
{
    use UuidTrait;

    public $incrementing = false;
    protected $table = 'swp_pages';

    protected $guarded = [];

    public function rEn()
    {
        return $this->hasOne(EnPages::class, 'page_id', 'id');
    }
}
