<?php

namespace App\Models;

use App\Traits\ModelTrait;
use Illuminate\Database\Eloquent\Model;
use Laracasts\Presenter\PresentableTrait;

class PageDescription extends Model
{
    use ModelTrait, PresentableTrait;

    protected $presenter = 'App\Presenters\CategoryPresenter';

    protected $table   = 'page_descriptions';

    protected $guarded = [];

    public    $timestamps = false;

    public function getCnameAttribute($value)
    {
        return $this->attributes['title'];
    }
}
