Employee
An Employee represents a person in the system identified by a unique id and username. Their skill profile is stored as a set of EmployeeCompetence bindings, each pairing a Competence with the employee's current CompetenceLevel.
See Domain Model — Roles and Workforce for a conceptual overview.
Employee
Employee
Bases: MergeableModel
A person identified by a unique id and username, carrying a competence profile.
Attributes:
| Name | Type | Description |
|---|---|---|
id |
str
|
Non-empty string uniquely identifying the employee (e.g. |
username |
str
|
Non-empty string representing the employee's login name. |
competences |
frozenset[EmployeeCompetence]
|
The set of competence bindings describing the employee's proficiency levels. Each competence must appear at most once. Defaults to an empty frozenset. |
EmployeeCompetence
EmployeeCompetence
Bases: MergeableModel
A binding that associates a Competence with the employee's proficiency level.
Attributes:
| Name | Type | Description |
|---|---|---|
competence |
Competence
|
The competence being bound. |
level |
CompetenceLevel
|
The employee's current proficiency level for this competence. |