public function getTransactions() { return $this->hasMany(Transactions::className(), array('extCorrelation' => 'id')); }
public function getTransactions() { return $this->hasMany(Transactions::className(), array('account_id' => 'id')); }
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']); }
/** * @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']); }