Entities for comments, mentions, reactions, favorites, entity subscriptions, resource links, and shared entities.
| Column | Type | Description |
|---|
entity | string | Target entity type |
entityId | UUID | Target entity ID |
comment | string | Comment text (HTML) |
actorType | enum? | User or System |
resolved | boolean? | Resolved flag |
resolvedAt | Date? | Resolution timestamp |
resolvedById | UUID? | FK to resolver |
editedAt | Date? | Last edit timestamp |
parentId | UUID? | FK to parent (threading) |
creatorId | UUID? | FK to creator |
Relations: parent (ManyToOne Comment), replies (OneToMany Comment), members (ManyToMany Employee)
Mentionโ
| Column | Type | Description |
|---|
entityId | UUID | Target entity ID |
entity | string | Entity type |
mentionedUserId | UUID | FK to mentioned user |
mentionById | UUID? | FK to user who mentioned |
parentEntityId | UUID? | FK to parent entity |
parentEntityType | string? | Parent entity type |
Reactionโ
| Column | Type | Description |
|---|
entity | string | Entity type |
entityId | UUID | Entity ID |
emoji | string | Emoji character |
creatorId | UUID | FK to creator |
Favorite