예제 #1
0
파일: Quotation.php 프로젝트: KokLip/GST
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getQuotationCreate()
 {
     return $this->hasOne(Tbuser::className(), ['user_id' => 'quotation_createid']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPurchaseorderCreate()
 {
     return $this->hasOne(Tbuser::className(), ['user_id' => 'purchaseorder_createid']);
 }
예제 #3
0
파일: Access2.php 프로젝트: KokLip/GST
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getUser()
 {
     return $this->hasOne(Tbuser::className(), ['user_id' => 'user_id']);
 }