public function getProfile() { $profile = $this->module->model("Profile"); return $this->hasOne($profile::className(), ['user_id' => 'id']); }