Org chart
HRMQ's organisational model is deliberately simple: a self-referencing
OrgUnit hierarchy and effective-dated OrgAssignment placements linking
employees to units. Neither schema carries a lifecycle — both are plain
records, no workflow.
OrgUnit
OrgUnit — afdeling, team, or kostenplaats — has an optional
parentUnitId (self-referencing, null for roots), an optional
costCenter, an optional managerId pointing at an Employee, and an
active flag (default true).