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