コード例 #1
0
ファイル: StockLocation.php プロジェクト: hendri30/OpenPrint
 /**
  * @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
ファイル: AccountAccount.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAccountAccounts()
 {
     return $this->hasMany(AccountAccount::className(), ['parent_id' => 'id']);
 }