public function getRole() { $role = $this->module->model("Role"); return $this->hasOne($role::className(), ['id' => 'role_id']); }