public function getCompaniesCompany()
{
return $this->hasOne(Companies::className(), ['company_id' => 'companies_company_id']);
}
public function getDepartamens()
{
return $this->hasMay(Departamens::className(), ['branches_branch_id' => 'branch_id']);
}