예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getValuationOutAccount()
 {
     return $this->hasOne(AccountAccount::className(), ['id' => 'valuation_out_account_id']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAccount()
 {
     return $this->hasOne(AccountAccount::className(), ['id' => 'account_id']);
 }
예제 #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAccountAccounts()
 {
     return $this->hasMany(AccountAccount::className(), ['parent_id' => 'id']);
 }