hasMany(Sclass::class); } public function student(){ return $this->hasMany(User::class); } }