belongsTo(Admin::class, 'wali_kelas_id'); } public function users() { return $this->hasMany(User::class, 'kelas_id'); } }