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