'integer', 'news_id' => 'integer', ]; } public function category(): BelongsTo { return $this->belongsTo(Category::class); } public function news(): BelongsTo { return $this->belongsTo(News::class); } }