예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIncoming()
 {
     return $this->hasOne(TransactionIncoming::className(), ['id' => 'incoming_id']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTransactionIncomings()
 {
     return $this->hasMany(TransactionIncoming::className(), ['transaction_id' => 'id']);
 }