/** * @return \yii\db\ActiveQuery */ public function getIdReview() { return $this->hasOne(Review::className(), ['id' => 'id_review']); }