Skip to content

Allocation DTO ​

Описание сущностей и типов из src/dto/allocation/.

Обогащено snapshot-данными бэкенд-DTO (3 из 3 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).

Содержание ​


GetClientAllocationRequestDto ​

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Allocation/GetClientAllocationRequestDto.cs (core.businesslogicservice).

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
clientIdnumberда—int
paginationPaginationда—Pagination

Пример ​

json
{
  "clientId": 0,
  "pagination": "<Pagination>"
}


GetPotentialWorkersRequestDto ​

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Allocation/GetPotentialWorkersRequestDto.cs (core.businesslogicservice).

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
paginationPaginationда—Pagination

Пример ​

json
{
  "pagination": "<Pagination>"
}


PotentialWorkersResponseDto ​

Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Allocation/PotentialWorkersResponseDto.cs (core.businesslogicservice).

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
workerWorkerDtoда—WorkerDto
distancenumberда—double
weightnumberда—double

Пример ​

json
{
  "worker": "<WorkerDto>",
  "distance": 0,
  "weight": 0
}