/**
  * @return \yii\db\ActiveQuery
  */
 public function getAdhocOrderRequestOutput()
 {
     return $this->hasOne(SbmAdhocOrderRequestOutput::className(), ['id' => 'adhoc_order_request_output_id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSbmAdhocOrderRequestOutputs()
 {
     return $this->hasMany(SbmAdhocOrderRequestOutput::className(), ['adhoc_order_request_id' => 'id']);
 }