belongsTo(Category::class); } /** * Get the summary associated with the book. */ public function summary() { return $this->hasOne(Summary::class); } }