/** * @return \yii\db\ActiveQuery */ public function getAttestates() { return $this->hasMany(Attestates::className(), ['Protocol_ID' => 'Protocol_ID']); }
/** * @return \yii\db\ActiveQuery */ public function getAttestates() { return $this->hasMany(Attestates::className(), ['Institution_ID' => 'Inst_ID']); }
/** * @return \yii\db\ActiveQuery */ public function getAttestates() { return $this->hasMany(Attestates::className(), ['Specialist_ID' => 'Specialist_ID']); }