> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# hotlist table

> The table is used by the hotlist to store the relationship between tickets and users

## hotlist Table (363)

The table is used by the hotlist to store the relationship between tickets and users

## Fields

| Name       | Description                                     | Type                      | Nullable |
| ---------- | ----------------------------------------------- | ------------------------- | :------: |
| id         | The primary key (auto-incremented)              | PK                        |    No    |
| user\_id   | The reference to the user.                      | FK [ejuser](./ejuser.mdx) |    No    |
| ticket\_id | The ticket the user what to have in his hotlist | FK [ticket](./ticket.mdx) |    No    |

<img src="https://mintcdn.com/superofficeas/6OcOTPa_ISkjXJg4/media/loc/en/database/tables/hotlist.png?fit=max&auto=format&n=6OcOTPa_ISkjXJg4&q=85&s=feec2a0e57764bffc97462eaba608453" alt="hotlist table relationship diagram" width="551" height="59" data-path="media/loc/en/database/tables/hotlist.png" />

## Indexes

| Fields     | Types | Description |
| ---------- | ----- | ----------- |
| user\_id   | FK    | Index       |
| ticket\_id | FK    | Index       |

## Relationships

| Table              | Description                                                                              |
| ------------------ | ---------------------------------------------------------------------------------------- |
| [ejuser](./ejuser) | This table contains entries for the users of the system.                                 |
| [ticket](./ticket) | This table contains the tickets (requests) of the system. Its purpose should be evident. |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [Get Hotlist Ej Users](/en/api/reference/restful/agent/ticket_agent/get-hotlist-ej-users.md)
- [ticket table](/en/database/tables/ticket.md)
- [SuperOffice.WebApi.Data.Ticket GetHotlistEjUsersRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Ticket_GetHotlistEjUsersRequest.md)
- [ejuser table](/en/database/tables/ejuser.md)
- [Get System Template Settings](/en/api/reference/restful/agent/customerservice_agent/get-system-template-settings.md)
- [SuperOffice.WebApi.Data.SystemTemplateSettings](/en/api/reference/webapi/SuperOffice.WebApi.Data.SystemTemplateSettings.md)
