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