/**
  * @return \yii\db\ActiveQuery
  */
 public function getBranchOffices()
 {
     return $this->hasMany(BranchOffices::className(), ['id_prov' => 'id_prov']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBO()
 {
     return $this->hasOne(BranchOffices::className(), ['BO_ID' => 'BO_ID']);
 }