Skip to content

WorkerDto ​

← Worker DTO

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

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
idnumberда—int
createDateTimestringда—DateTimeOffset
updateDateTimestring | nullнет—DateTimeOffset?
deleteDateTimestring | nullнет—DateTimeOffset?
userIdnumberда—int
ratePerHourIdnumber | nullнет—int?
firstNamestringда—string
lastNamestringда—string
nationalitystring | nullнет—string?
birthDatestring | nullнет—DateOnly?
genderGenderParamда—GenderParam
employmentTypeEmploymentTypeParamда—EmploymentTypeParam
statusWorkerStatusDtoда—WorkerStatusDto
referralSourceReferralSourceDtoда——
maxClientsCountnumber | nullнет—int?
paidVacationPerYearCountnumber | nullнет—ushort?
hasAllergyboolean | nullнет—bool?
childsboolean | nullнет—bool?
transportTypesTransportTypeParam[]да—List<TransportTypeParam>
workWithMenboolean | nullнет—bool?
workWithWomenboolean | nullнет—bool?
religionstring | nullнет—string?
pensionInsurancestring | nullнет—string?
medicalInsurancestring | nullнет—string?
taxIdstring | nullнет—string?
bankNamestring | nullнет—string?
ibanstring | nullнет—string?
bicstring | nullнет—string?
allergyCommentstring | nullнет—string?
commentstring | nullнет—string?
inBlackListbooleanда—bool
isStaffedbooleanда—bool
isAvailableForClientsbooleanда—bool
isTrainedbooleanда—bool
contractSignedDatestring | nullнет—DateOnly?
contractTerminationDatestring | nullнет—DateOnly?
hasCertificatebooleanда—bool
hasExperiencebooleanда—bool
goToWorkDatestring | nullнет—DateOnly?
addressesWorkerAddressDto[]да—List<WorkerAddressDto>
filesWorkerFileDto[]да—List<WorkerFileDto>
ratePerHourRatePerHourDto | nullнет—RatePerHourDto?
phoneLinkContactsPhoneLinkContactDto[]да—List<PhoneLinkContactDto>
emailLinkContactsEmailLinkContactDto[]да—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",
  "gender": "<GenderParam>",
  "employmentType": "<EmploymentTypeParam>",
  "status": "<WorkerStatusDto>",
  "referralSource": "<ReferralSourceDto>",
  "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": []
}