/** * @return \yii\db\ActiveQuery */ public function getEmployee() { return $this->hasOne(Employee::className(), ['id' => 'employeeid']); }