/** * @return \yii\db\ActiveQuery */ public function getFollows() { return $this->hasMany(Follow::className(), ['staffID' => 'formalemail']); }
/** * @return \yii\db\ActiveQuery */ public function getFollows() { return $this->hasMany(Follow::className(), ['id_follow' => 'id']); }