/** * @return \yii\db\ActiveQuery */ public function getProductReviews() { return $this->hasMany(ProductReview::className(), ['user_id' => 'id']); }