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