/** * @return \yii\db\ActiveQuery */ public function getNos() { return $this->hasOne(NosAnalysoitavat::className(), ['nos_id' => 'nos_id']); }