/** * @return \yii\db\ActiveQuery */ public function getAmgenContactLists() { return $this->hasMany(AmgenContactList::className(), ['workforce_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getAttendee() { return $this->hasOne(AmgenContactList::className(), ['id' => 'attendee_id']); }
/** * @return \yii\db\ActiveQuery */ public function getAmgenContactLists() { return $this->hasMany(AmgenContactList::className(), ['function_Id' => 'ID']); }