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