'float', 'weight' => 'float', ]; public function knowledgePoints() { return $this->belongsToMany(KnowledgePoint::class, 'knowledge_point_skill'); } }