Participants Model
Overview
The participants table is designed to manage and store information about participants in a system, including their roles, permissions, and associations with other entities. It helps track the participants, their groups, and their associated permissions.
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| id | string | A unique identifier for the participant | ❌ |
| groups | array | A list of groups the participant belongs to. | ❌ |
| defaultRole | string | The default role assigned to the participant. | ❌ |
| category | string | Specifies the category of the participant. This helps classify participants. | ❌ |
| objectId | string | References an associated object or entity, like a project, event, or resource to which the participant belongs. | ❌ |
| referenceId | string | An external reference ID related to the participant. This could link to another system or external resource. | ❌ |
| users | array | A serialized list of user IDs associated with the participant, or a JSON array of users. | ✅ |
| created_at | date | The timestamp when the participant record was created. | ❌ |
| modified_at | date | The timestamp when the participant record was last updated. | ❌ |
| participantUserPermission | array | A serialized or structured representation of the permissions granted to the participant or the group they belong to. | ✅ |
Sample JSON
{
"id": "example_value",
"groups": "example_value",
"defaultRole": "example_value",
"category": "example_value",
"objectId": "example_value",
"referenceId": "example_value",
"users": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"participantUserPermission": "example_value"
}