Primary key
document_id
uuiddefault:"Random UUID"publicrequired
The unique identifier for the worker.
Specific attributes
employee_code
varcharpublic
An employee code of the worker.
Rules: Max length: 50 characters
email
varcharpublicrequired
An email associated with the worker.
Rules: Max length: 150 characters
first_name
varcharpublicrequired
First name of the worker.
Rules: Max length: 100 characters
last_name
varcharpublicrequired
Last name of the worker.
Rules: Max length: 100 characters
max_concurrent_alerts
numericpublicrequired
Max concurrent alerts for a worker.
phone
varcharpublicrequired
Phone of the worker.
Rules: Max length: 20 characters
The JSON data associated with specialities of the worker.
Tracking attributes
created_at
timestamppublic
The timestamp when the worker was created.
Rules: Precision: 6, with timezone
deleted_at
timestamppublic
The timestamp when the worker was deleted, if applicable.
Rules: Precision: 6, with timezone
is_actived
booleandefault:"true"public
Indicates whether the worker is active.
is_deleted
booleandefault:"false"public
Indicates whether the worker has been deleted.
updated_at
timestamppublic
The timestamp when the worker was last updated.
Rules: Precision: 6, with timezone