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