belongsToMany(Symptom::class, 'disease_symptoms') ->withPivot('cf_value'); } public function treatments() { return $this->hasMany(Treatment::class)->orderBy('order'); } }