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?
emailstringдаstring
genderGenderParamдаGenderParam
employmentTypeEmploymentTypeParamдаEmploymentTypeParam
statusWorkerStatusDtoдаWorkerStatusDto
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",
  "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": []
}