示例#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']);
 }