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