Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBranches()
 {
     return $this->hasMany(Branches::className(), ['companies_company_id' => 'company_id']);
 }