/** * @return \yii\db\ActiveQuery */ public function getBpmNodes0() { return $this->hasMany(BpmNode::className(), ['output_yes' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getNode() { return $this->hasOne(BpmNode::className(), ['id' => 'node_id']); }