Usersettings Model
Overview
This table is designed to store user-specific settings for different applications and roles. It enables users to have personalized configurations for their usage of the platform, and it allows for tracking and modifying settings over time.
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| userId | string | The identifier of the user associated with these settings. | ✅ |
| application_id | string | The identifier of the application the settings belong to. Useful in multi-app platforms where one user may have different settings per app. | ❌ |
| id | string | A unique identifier for the user settings. Used to uniquely identify each settings record, not the user itself. | ❌ |
| orgId | string | The identifier of the organization associated with the user. | ✅ |
| siteId | string | The identifier of the site linked to the user settings. Enables site-level customization of user behavior or permissions. | ✅ |
| roleId | string | The identifier of the role assigned to the user. | ✅ |
| created_at | date | The timestamp when the user settings were created. | ❌ |
| modified_at | date | The timestamp when the user settings were last updated. | ❌ |
| xrmodules | array | xrmodules field | ❌ |
| name | string | The name associated with the user settings. | ❌ |
| userSettings | array | Describes about userid and user profile data of an authenticationtype. Stores customizable settings per user. | ❌ |
Sample JSON
{
"userId": "example_value",
"application_id": "example_value",
"id": "example_value",
"orgId": "example_value",
"siteId": "example_value",
"roleId": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"xrmodules": "example_value",
"name": "example_value",
"userSettings": "example_value"
}