Allocation DTO
Описание сущностей и типов из src/dto/allocation/.
Обогащено snapshot-данными бэкенд-DTO (3 из 3 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).
Содержание
- GetClientAllocationRequestDto · backend ✓
- GetPotentialWorkersRequestDto · backend ✓
- PotentialWorkersResponseDto · backend ✓
GetClientAllocationRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Allocation/GetClientAllocationRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
clientId | number | да | — | int |
pagination | Pagination | да | — | Pagination |
Пример
json
{
"clientId": 0,
"pagination": "<Pagination>"
}GetPotentialWorkersRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Allocation/GetPotentialWorkersRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
pagination | Pagination | да | — | Pagination |
Пример
json
{
"pagination": "<Pagination>"
}PotentialWorkersResponseDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Allocation/PotentialWorkersResponseDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
worker | WorkerDto | да | — | WorkerDto |
distance | number | да | — | double |
weight | number | да | — | double |
Пример
json
{
"worker": "<WorkerDto>",
"distance": 0,
"weight": 0
}