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