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