/** * @return \yii\db\ActiveQuery */ public function getLicEvents() { return $this->hasMany(LicEvents::className(), ['Prot_ID' => 'Protocol_ID']); }
/** * @return \yii\db\ActiveQuery */ public function getLicEvents() { return $this->hasMany(LicEvents::className(), ['LicID' => 'Lic_ID']); }