Exemple #1
0
 public function getRabotyFizLicaRel()
 {
     return $this->hasMany(RabotaFizLica::className(), ['organizaciya' => 'id'])->inverseOf('organizaciyaRel');
 }
Exemple #2
0
 public function getRabotyFizLicaRel()
 {
     return $this->hasMany(RabotaFizLica::className(), ['fiz_lico' => 'id'])->inverseOf('fizLicoRel');
 }
 public function getRabotaFizLicaRel()
 {
     return $this->hasOne(RabotaFizLica::className(), ['id' => 'rabota_fiz_lica'])->inverseOf('dolzhnostiFizLicaNaRaboteRel');
 }