belongsTo(MainSection::class); } public function pages() : HasMany { return $this->hasMany(Page::class)->orderBy('sort', 'asc'); } }