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