The employee is a complex resource that is represented through several objects:
1
Employee
The employee resource represents the public
face of the employee, i.e. all of their attributes that would be commonly known
to anyone in the company.
2
Employee-Personal-Record
The employee-personal-record
is a record that extends an employee and contains personal information about
the employee: personal contact information, emergency contact, blood type, etc…
3
Employment
The employment represents the relationship
between an employee and a legal-entity.
It can be a work-contract, a training agreement, the contract of a contractor, etc…
An employment has a start date and optional end date. No two employments may overlap
for a given employee.
Employments also dictate access rights, as only employees
having an “active” employment may access their Lucca account.
4
Job-Position
The job-position represents a temporary
position occupied by an employee during one of their employment. It indicates the employee’s
business-establishment,
job-qualification,
department, job title,
occupation-category, etc…
The list of job-positions occupied by an employee represents their whole career
in the company.