/**
  * @return \yii\db\ActiveQuery
  */
 public function getOutgoing()
 {
     return $this->hasOne(TransactionOutgoing::className(), ['id' => 'outgoing_id']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTransactionOutgoings()
 {
     return $this->hasMany(TransactionOutgoing::className(), ['transaction_id' => 'id']);
 }