WorkerDto
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Worker/WorkerDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
id | number | да | — | int |
createDateTime | string | да | — | DateTimeOffset |
updateDateTime | string | null | нет | — | DateTimeOffset? |
deleteDateTime | string | null | нет | — | DateTimeOffset? |
userId | number | да | — | int |
ratePerHourId | number | null | нет | — | int? |
firstName | string | да | — | string |
lastName | string | да | — | string |
nationality | string | null | нет | — | string? |
birthDate | string | null | нет | — | DateOnly? |
email | string | да | — | string |
gender | GenderParam | да | — | GenderParam |
employmentType | EmploymentTypeParam | да | — | EmploymentTypeParam |
status | WorkerStatusDto | да | — | 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? |
inBlackList | boolean | да | — | bool |
isStaffed | boolean | да | — | bool |
isAvailableForClients | boolean | да | — | bool |
isTrained | boolean | да | — | bool |
contractSignedDate | string | null | нет | — | DateOnly? |
contractTerminationDate | string | null | нет | — | DateOnly? |
hasCertificate | boolean | да | — | bool |
hasExperience | boolean | да | — | bool |
goToWorkDate | string | null | нет | — | DateOnly? |
addresses | WorkerAddressDto[] | да | — | List<WorkerAddressDto> |
files | WorkerFileDto[] | да | — | List<WorkerFileDto> |
ratePerHour | RatePerHourDto | null | нет | — | RatePerHourDto? |
phoneLinkContacts | PhoneLinkContactDto[] | да | — | List<PhoneLinkContactDto> |
emailLinkContacts | EmailLinkContactDto[] | да | — | List<EmailLinkContactDto> |
Пример
json
{
"id": 0,
"createDateTime": "2026-05-05T08:00:00Z",
"updateDateTime": "2026-05-05T08:00:00Z",
"deleteDateTime": "2026-05-05T08:00:00Z",
"userId": 0,
"ratePerHourId": 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",
"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",
"addresses": [],
"files": [],
"ratePerHour": "<rateperhourdto>",
"phoneLinkContacts": [],
"emailLinkContacts": []
}