UpdateWorkerPartialRequestDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Worker/Request/UpdateWorkerPartialRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
firstName | string | null | нет | — | string? |
lastName | string | null | нет | — | string? |
nationality | string | null | нет | — | string? |
birthDate | string | null | нет | — | DateOnly? |
email | string | null | нет | — | string? |
gender | GenderParam | null | нет | — | GenderParam? |
employmentType | EmploymentTypeParam | null | нет | — | EmploymentTypeParam? |
status | WorkerStatusDto | null | нет | — | WorkerStatusDto? |
maxClientsCount | number | null | нет | — | int? |
paidVacationPerYearCount | number | null | нет | — | ushort? |
hasAllergy | boolean | null | нет | — | bool? |
childs | boolean | null | нет | — | bool? |
transportTypes | TransportTypeParam[] | да | — | List<TransportTypeParam>? |
workWithMen | boolean | null | нет | — | bool? |
workWithWomen | boolean | null | нет | — | bool? |
religion | string | null | нет | — | string? |
pensionInsurance | string | null | нет | — | string? |
medicalInsurance | string | null | нет | — | string? |
taxId | string | null | нет | — | string? |
bankName | string | null | нет | — | string? |
iban | string | null | нет | — | string? |
bic | string | null | нет | — | string? |
allergyComment | string | null | нет | — | string? |
comment | string | null | нет | — | string? |
availabilityComment | string | null | нет | — | string? |
referralSource | ReferralSourceDto | null | нет | — | ReferralSourceDto? |
inBlackList | boolean | null | нет | — | bool? |
isStaffed | boolean | null | нет | — | bool? |
isAvailableForClients | boolean | null | нет | — | bool? |
isTrained | boolean | null | нет | — | bool? |
contractSignedDate | string | null | нет | — | DateOnly? |
contractTerminationDate | string | null | нет | — | DateOnly? |
hasCertificate | boolean | null | нет | — | bool? |
hasExperience | boolean | null | нет | — | bool? |
goToWorkDate | string | null | нет | — | DateOnly? |
phone | string | null | нет | — | string? |
Пример
json
{
"id": 0,
"firstName": "string",
"lastName": "string",
"nationality": "string",
"birthDate": "2026-05-05T08:00:00Z",
"email": "user@example.com",
"gender": "<genderparam>",
"employmentType": "<employmenttypeparam>",
"status": "<workerstatusdto>",
"maxClientsCount": 0,
"paidVacationPerYearCount": 0,
"hasAllergy": false,
"childs": false,
"transportTypes": [],
"workWithMen": false,
"workWithWomen": false,
"religion": "string",
"pensionInsurance": "string",
"medicalInsurance": "string",
"taxId": "uuid",
"bankName": "string",
"iban": "string",
"bic": "string",
"allergyComment": "string",
"comment": "string",
"availabilityComment": "string",
"referralSource": "<referralsourcedto>",
"inBlackList": false,
"isStaffed": false,
"isAvailableForClients": false,
"isTrained": false,
"contractSignedDate": "2026-05-05T08:00:00Z",
"contractTerminationDate": "2026-05-05T08:00:00Z",
"hasCertificate": false,
"hasExperience": false,
"goToWorkDate": "2026-05-05T08:00:00Z",
"phone": "+49123456789"
}