Monthly Report DTO
Описание сущностей и типов из src/dto/monthlyReport/.
Обогащено snapshot-данными бэкенд-DTO (3 из 3 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).
Содержание
- CreateMonthlyReportRequestParam · backend ✓
- MonthlyReportFileTypeParam · backend ✓
- MonthlyReportStatusParam · backend ✓
CreateMonthlyReportRequestParam
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/MonthlyReport/Request/CreateMonthlyReportRequestParam.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
workerId | number | да | — | int |
clientId | number | да | — | int |
status | MonthlyReportStatusParam | да | — | MonthlyReportStatusParam |
reportStartDate | string | да | — | DateOnly |
reportEndDate | string | null | нет | — | DateOnly? |
amount | number | да | — | decimal |
distance | number | да | — | decimal |
hours | number | да | — | int |
minutes | number | да | — | 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#) |
|---|---|---|---|
NotFound | 0 | — | 0 |
Origianl | 1 | — | 1 |
Modified | 2 | — | 2 |
Пример
json
0MonthlyReportStatusParam
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/MonthlyReport/Enums/MonthlyReportStatusParam.cs (core.businesslogicservice).
Значения
| Имя | Значение (TS) | Описание | Код (C#) |
|---|---|---|---|
NotFound | 0 | — | 0 |
New | 1 | — | 1 |
Done | 2 | — | 2 |
Пример
json
0