<?php

namespace App\Models\Core;

use App\Models\Shop\Article;
use Rinvex\Categories\Models\Category as parentCategory;

class Category extends parentCategory
{
    public function Articles()
    {
        // return $this->entries(Article::class);
        return $this->morphedByMany(Article::class, 'categorizable');
    }
}
