Skip to content

Region DTO ​

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

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

Содержание ​


CreateRegionCodeRequestDto ​

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

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
codestringда—string
isServedbooleanдаtrue when the company works in the region.—

Пример ​

json
{
  "code": "string",
  "isServed": false
}


GetRegionCodesByWorkerUserResponseDto ​

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

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
regionCodesRegionCodeDto[]да—List<RegionCodeDto>

Пример ​

json
{
  "regionCodes": []
}


GetRegionCodesRequestDto ​

Filters for GET api/region-codes. Every field except pagination is optional — an absent field means the condition is not applied.

Поля ​

ПолеТипОбязательноеОписание
paginationPaginationда—
isServedbooleanнетtrue keeps only the regions the company works in, false only the ones it does not.

Пример ​

json
{
  "pagination": "<Pagination>",
  "isServed": false
}


RegionCodeDto ​

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

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberда—int
codestringда—string
isServedbooleanдаtrue when the company works in the region.—

Пример ​

json
{
  "id": 0,
  "code": "string",
  "isServed": false
}


UpdateRegionCodeRequestDto ​

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

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberда—int
codestringда—string
namestringда—string
isServedbooleanдаtrue when the company works in the region.—

Пример ​

json
{
  "id": 0,
  "code": "string",
  "name": "string",
  "isServed": false
}