Ejemplo n.º 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAccountAnalyticAccounts()
 {
     return $this->hasMany(AccountAnalyticAccount::className(), ['partner_id' => 'id']);
 }
Ejemplo n.º 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAccountAnalytic()
 {
     return $this->hasOne(AccountAnalyticAccount::className(), ['id' => 'account_analytic_id']);
 }
Ejemplo n.º 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProject()
 {
     return $this->hasOne(AccountAnalyticAccount::className(), ['id' => 'project_id']);
 }