Geo Viewer DTO
Описание сущностей и типов из src/dto/geoViewer/.
Обогащено snapshot-данными бэкенд-DTO (0 из 7 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).
Содержание
- GeoViewerAssignmentDto
- GeoViewerCandidateDto
- GeoViewerClientDto
- GeoViewerDistanceDto
- GeoViewerMapDataRequestParam
- GeoViewerMapDataResponseDto
- GeoViewerWorkerDto
GeoViewerAssignmentDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
clientId | number | да | — |
workerId | number | да | — |
clientName | string | да | — |
workerName | string | да | — |
status | WorkerAssignmentStatusDto | да | — |
Пример
json
{
"clientId": 0,
"workerId": 0,
"clientName": "string",
"workerName": "string",
"status": "<WorkerAssignmentStatusDto>"
}GeoViewerCandidateDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
id | number | да | — |
name | string | да | — |
latitude | number | null | нет | — |
longitude | number | null | нет | — |
distanceDirectly | number | да | — |
weight | number | null | нет | — |
Пример
json
{
"id": 0,
"name": "string",
"latitude": 0,
"longitude": 0,
"distanceDirectly": 0,
"weight": 0
}GeoViewerClientDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
id | number | да | — |
name | string | да | — |
addressId | number | null | нет | — |
latitude | number | null | нет | — |
longitude | number | null | нет | — |
address | string | null | нет | — |
clientStatus | ClientStatusDto | да | — |
assistanceTypes | AssistanceTypeDto[] | да | — |
Пример
json
{
"id": 0,
"name": "string",
"addressId": 0,
"latitude": 0,
"longitude": 0,
"address": "string",
"clientStatus": "<ClientStatusDto>",
"assistanceTypes": []
}GeoViewerDistanceDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
clientId | number | да | — |
workerId | number | да | — |
distanceDirectly | number | да | — |
distanceByNavigator | number | null | нет | — |
timeArrive | string | null | нет | — |
weight | number | null | нет | — |
Пример
json
{
"clientId": 0,
"workerId": 0,
"distanceDirectly": 0,
"distanceByNavigator": 0,
"timeArrive": "2026-05-05T08:00:00Z",
"weight": 0
}GeoViewerMapDataRequestParam
Filters for the GeoViewer map data request.
Each list field is tri-state:
undefined(omitted) → the backend applies no filter and returns all rows of that kind.- a non-empty array → only rows matching one of the given values.
- an empty array
[]→ explicitly select none (nothing of that kind is returned).
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
clientStatus | ClientStatusDto[] | нет | — |
workerStatus | WorkerStatusDto[] | нет | — |
assistanceTypes | AssistanceTypeDto[] | нет | — |
search | string | нет | — |
Пример
json
{
"clientStatus": [],
"workerStatus": [],
"assistanceTypes": [],
"search": "string"
}GeoViewerMapDataResponseDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
clients | GeoViewerClientDto[] | да | — |
workers | GeoViewerWorkerDto[] | да | — |
distances | GeoViewerDistanceDto[] | да | — |
assignments | GeoViewerAssignmentDto[] | да | — |
Пример
json
{
"clients": [],
"workers": [],
"distances": [],
"assignments": []
}GeoViewerWorkerDto
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
id | number | да | — |
name | string | да | — |
addressId | number | null | нет | — |
latitude | number | null | нет | — |
longitude | number | null | нет | — |
address | string | null | нет | — |
transportTypes | TransportTypeParam[] | да | — |
status | WorkerStatusDto | да | — |
maxClientsCount | number | null | нет | — |
Пример
json
{
"id": 0,
"name": "string",
"addressId": 0,
"latitude": 0,
"longitude": 0,
"address": "string",
"transportTypes": [],
"status": "<WorkerStatusDto>",
"maxClientsCount": 0
}