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