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
}