hasMany(InteReview::class,'uid','uid'); } public function user(){ return $this->hasOne(User::class,'id','uid'); } }