hasOne(Category::class, 'id',"type"); } }