Skip to content

Monthly Report DTO ​

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

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

Содержание ​


CreateMonthlyReportRequestParam ​

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

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
workerIdnumberда—int
clientIdnumberда—int
statusMonthlyReportStatusParamда—MonthlyReportStatusParam
reportStartDatestringда—DateOnly
reportEndDatestring | nullнет—DateOnly?
amountnumberда—decimal
distancenumberда—decimal
hoursnumberда—int
minutesnumberда—int

Пример ​

json
{
  "workerId": 0,
  "clientId": 0,
  "status": "<MonthlyReportStatusParam>",
  "reportStartDate": "2026-05-05T08:00:00Z",
  "reportEndDate": "2026-05-05T08:00:00Z",
  "amount": 0,
  "distance": 0,
  "hours": 0,
  "minutes": 0
}


MonthlyReportFileTypeParam ​

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

Значения ​

ИмяЗначение (TS)ОписаниеКод (C#)
NotFound0—0
Origianl1—1
Modified2—2

Пример ​

json
0


MonthlyReportStatusParam ​

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

Значения ​

ИмяЗначение (TS)ОписаниеКод (C#)
NotFound0—0
New1—1
Done2—2

Пример ​

json
0