belongsTo(User::class); } public function mapels(): HasMany { return $this->hasMany(Mapel::class, "teacher_id"); } }