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