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