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