Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getQuotationCreate()
 {
     return $this->hasOne(Tbuser::className(), ['user_id' => 'quotation_createid']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPurchaseorderCreate()
 {
     return $this->hasOne(Tbuser::className(), ['user_id' => 'purchaseorder_createid']);
 }
Example #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getUser()
 {
     return $this->hasOne(Tbuser::className(), ['user_id' => 'user_id']);
 }