示例#1
0
 public function getTransactions()
 {
     return $this->hasMany(Transactions::className(), array('extCorrelation' => 'id'));
 }
示例#2
0
 public function getTransactions()
 {
     return $this->hasMany(Transactions::className(), array('account_id' => 'id'));
 }
示例#3
0
 public function getTransactions()
 {
     return $this->hasMany(\app\models\Transactions::className(), ['TN' => 'ID']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTrans()
 {
     return $this->hasMany(Transactions::className(), ['trans_id' => 'trans_id'])->viaTable('transaction_detail', ['trans_service_id' => 'service_id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTrans()
 {
     return $this->hasOne(Transactions::className(), ['trans_id' => 'trans_id']);
 }
示例#6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTransactions()
 {
     return $this->hasMany(Transactions::className(), ['type_id' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTransactions()
 {
     return $this->hasMany(Transactions::className(), ['trans_employee' => 'employee_id']);
 }