public function items(): BelongsToMany { return $this ->belongsToMany('App\Models\Item') ->select('items.*', 'category_item.position as position'); }
public function items(): BelongsToMany { return $this ->belongsToMany('App\Models\Item') ->select('items.*', 'category_item.position as position'); }