Centurio Sistemas & modulju dokumentacija
🏛️ Platformas arhitektūra 🔑 Login
🏠 Visi moduli / organization_compliance / darbinieks & personāls
👤

darbinieks & personāls

employees organization_compliance 🛡️ RLS Protected

Galvenā informācija, darba līgumi (NachwG), laika kopēšana ar arbZG norādēm, atkāpumi un eAU/EFZG.

Fachliche Bestimmung: Operatīva personāla departamenta: nodarbinātības līgums, laika ievadīšana (ArbZG pauzes noteikumi), absences (turpmāk - atvaļinājuma/paziņas noteikumi), kvalifikācijas un ārkārtas kontaktinformācija.

⚡ Darbības plūsmas un dzīves cikļi

Smarķēšana, atvaļinājums un slimības paziņojums hr_time_and_absence

Autotransporta pakalpojumu laiku reģistrēšana un atvaļinājuma pieteikumi ar vadību atvaļinājumu.

1. CLOCK_IN
Stikla
POST /api/v1/h/clock-in start TimeEntry runes.
Aktionen: arbzg_warnings
2. CLOCK_OUT
Šampulēšana
Atbalsts ar pauzes norādījumiem pēc ArbZG.
Aktionen: time_summary
3. ABSENCE_REQUEST
Pieprasījums
Atvaļinājums/apņēmuma atvaļinājums, kā pieprasīts.
Aktionen: vacation_balance
4. ABSENCE_APPROVE
Atļaujas
Managērs apstiprina/neatzīst; slimnieks ar eAU statusu.
Aktionen: eau_status, efzg_exhausted

Uzglabāšanas instrukcija: darbinieku bruto subagents plan:command_employee_crud_subagent

Pārbaudēts durabls plan (durabls_plan), sākums: manuals_command.

1. employee_crud_subagent
employee_crud_subagent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "employee_crud_subagent", "condition_fact": null}
Aktionen: employee_crud_subagent

Benutzerbefehl: hr absence agent plan:command_hr_absence_agent

Pārbaudēts durabls plan (durabls_plan), sākums: manuals_command.

1. hr_absence_agent
hr_absence_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "hr_absence_agent", "condition_fact": null}
Aktionen: hr_absence_agent

Benutzerbefehl: hr contract agent plan:command_hr_contract_agent

Pārbaudēts durabls plan (durabls_plan), sākums: manuals_command.

1. hr_contract_agent
hr_contract_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "hr_contract_agent", "condition_fact": null}
Aktionen: hr_contract_agent

Benutzerbefehl: safety agent plan:command_safety_agent

Pārbaudēts durabls plan (durabls_plan), sākums: manuals_command.

1. safety_agent
safety_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "safety_agent", "condition_fact": null}
Aktionen: safety_agent

🗄️ Datu modeļi & laukumi

HrAbsences hr_absences RLS Aktiv
24 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_absences

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
employee_id UUID Ja * FK ➔ organization_users.id Feld employee_id
absence_type VARCHAR(48) Ja * - Feld absence_type
status VARCHAR(48) Ja * - Feld status
start_date DATE Ja * - Feld start_date
end_date DATE Ja * - Feld end_date
days NUMERIC(5, 1) Ja * - Feld days
half_day BOOLEAN Ja * - Feld half_day
notes TEXT Nein - Feld notes
requested_by_id UUID Nein FK ➔ users.id Feld requested_by_id
decided_by_id UUID Nein FK ➔ users.id Feld decided_by_id
decided_at DATETIME Nein - Feld decided_at
decision_note TEXT Nein - Feld decision_note
eau_status VARCHAR(48) Ja * - Feld eau_status
eau_retrieved_at DATETIME Nein - Feld eau_retrieved_at
is_child_sick BOOLEAN Ja * - Feld is_child_sick
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrCompensations hr_compensations RLS Aktiv
18 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_compensations

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
employee_id UUID Ja * FK ➔ organization_users.id Feld employee_id
contract_id UUID Nein FK ➔ hr_employment_contracts.id Feld contract_id
component VARCHAR(32) Ja * - Feld component
salary_type VARCHAR(48) Ja * - Feld salary_type
amount NUMERIC(10, 2) Ja * - Feld amount
currency VARCHAR(3) Ja * - Feld currency
effective_from DATE Ja * - Feld effective_from
effective_to DATE Nein - Feld effective_to
reason VARCHAR(255) Nein - Feld reason
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrContractTemplates hr_contract_templates
14 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_contract_templates

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
id UUID Nein PK Feld id
country VARCHAR(2) Ja * - Feld country
doc_key VARCHAR(64) Ja * - Feld doc_key
language VARCHAR(8) Ja * - Feld language
title VARCHAR(255) Ja * - Feld title
description TEXT Nein - Feld description
sections JSONB Ja * - Feld sections
variables JSONB Ja * - Feld variables
legal_basis VARCHAR(255) Nein - Feld legal_basis
source_note VARCHAR(255) Nein - Feld source_note
version INTEGER Ja * - Feld version
sort_order INTEGER Ja * - Feld sort_order
active BOOLEAN Ja * - Feld active
created_at DATETIME Ja * - Feld created_at
HrEmergencyContacts hr_emergency_contacts RLS Aktiv
14 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_emergency_contacts

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
employee_id UUID Ja * FK ➔ organization_users.id Feld employee_id
name VARCHAR(255) Ja * - Feld name
relationship VARCHAR(128) Nein - Feld relationship
phone VARCHAR(64) Ja * - Feld phone
priority INTEGER Ja * - Feld priority
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrEmploymentContracts hr_employment_contracts RLS Aktiv
29 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_employment_contracts

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
employee_id UUID Ja * FK ➔ organization_users.id Feld employee_id
contract_type VARCHAR(48) Ja * - Feld contract_type
status VARCHAR(48) Ja * - Feld status
position_title VARCHAR(255) Ja * - Feld position_title
job_description TEXT Nein - Feld job_description
workplace VARCHAR(255) Nein - Feld workplace
start_date DATE Ja * - Feld start_date
end_date DATE Nein - Feld end_date
probation_months INTEGER Nein - Feld probation_months
weekly_hours NUMERIC(5, 2) Nein - Feld weekly_hours
salary_type VARCHAR(48) Ja * - Feld salary_type
salary_amount NUMERIC(10, 2) Nein - Feld salary_amount
vacation_days_per_year INTEGER Nein - Feld vacation_days_per_year
notice_period_employee VARCHAR(255) Nein - Feld notice_period_employee
notice_period_employer VARCHAR(255) Nein - Feld notice_period_employer
tariff_agreement VARCHAR(255) Nein - Feld tariff_agreement
terminated_at DATE Nein - Feld terminated_at
termination_effective_date DATE Nein - Feld termination_effective_date
document_id UUID Nein FK ➔ documents.id Feld document_id
notes TEXT Nein - Feld notes
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrQualifications hr_qualifications RLS Aktiv
17 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_qualifications

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
employee_id UUID Ja * FK ➔ organization_users.id Feld employee_id
name VARCHAR(255) Ja * - Feld name
issuer VARCHAR(255) Nein - Feld issuer
acquired_at DATE Nein - Feld acquired_at
expires_at DATE Nein - Feld expires_at
document_id UUID Nein FK ➔ documents.id Feld document_id
is_required BOOLEAN Ja * - Feld is_required
notes TEXT Nein - Feld notes
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrRiskAssessments hr_risk_assessments RLS Aktiv
18 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_risk_assessments

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
area VARCHAR(255) Ja * - Feld area
activity VARCHAR(255) Ja * - Feld activity
hazards TEXT Nein - Feld hazards
measures JSONB Ja * - Feld measures
status VARCHAR(16) Ja * - Feld status
reviewed_at DATE Nein - Feld reviewed_at
next_review_at DATE Nein - Feld next_review_at
document_id UUID Nein FK ➔ documents.id Feld document_id
notes TEXT Nein - Feld notes
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrSafetyInstructions hr_safety_instructions RLS Aktiv
17 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_safety_instructions

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
template_id UUID Nein FK ➔ hr_safety_templates.id Feld template_id
title VARCHAR(255) Ja * - Feld title
conducted_on DATE Nein - Feld conducted_on
instructor_name VARCHAR(255) Nein - Feld instructor_name
status VARCHAR(16) Ja * - Feld status
next_due_at DATE Nein - Feld next_due_at
document_id UUID Nein FK ➔ documents.id Feld document_id
notes TEXT Nein - Feld notes
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrSafetyParticipants hr_safety_participants RLS Aktiv
10 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_safety_participants

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
instruction_id UUID Ja * FK ➔ hr_safety_instructions.id Feld instruction_id
employee_id UUID Ja * FK ➔ organization_users.id Feld employee_id
attended BOOLEAN Ja * - Feld attended
signed_at DATETIME Nein - Feld signed_at
signature_document_id UUID Nein FK ➔ documents.id Feld signature_document_id
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
metadata JSONB Ja * - Feld metadata
HrSafetyTemplates hr_safety_templates RLS Aktiv
15 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_safety_templates

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
title VARCHAR(255) Ja * - Feld title
content TEXT Nein - Feld content
document_id UUID Nein FK ➔ documents.id Feld document_id
interval_months INTEGER Ja * - Feld interval_months
applies_to JSONB Ja * - Feld applies_to
active BOOLEAN Ja * - Feld active
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrTimeEntries hr_time_entries RLS Aktiv
23 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_time_entries

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
employee_id UUID Ja * FK ➔ organization_users.id Feld employee_id
work_date DATE Ja * - Feld work_date
started_at DATETIME Ja * - Feld started_at
ended_at DATETIME Nein - Feld ended_at
break_minutes INTEGER Ja * - Feld break_minutes
kind VARCHAR(48) Ja * - Feld kind
status VARCHAR(48) Ja * - Feld status
work_order_id UUID Nein FK ➔ work_orders.id Feld work_order_id
project_id UUID Nein FK ➔ projects.id Feld project_id
description TEXT Nein - Feld description
warnings JSONB Ja * - Feld warnings
approved_by_id UUID Nein FK ➔ users.id Feld approved_by_id
approved_at DATETIME Nein - Feld approved_at
correction_of_id UUID Nein FK ➔ hr_time_entries.id Feld correction_of_id
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrWorkInstructions hr_work_instructions RLS Aktiv
20 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_work_instructions

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
workplace_id UUID Nein FK ➔ hr_workplace_descriptions.id Feld workplace_id
code VARCHAR(64) Ja * - Feld code
title VARCHAR(255) Ja * - Feld title
steps JSONB Ja * - Feld steps
integration_notes TEXT Nein - Feld integration_notes
status VARCHAR(16) Ja * - Feld status
source VARCHAR(64) Ja * - Feld source
plan_hash VARCHAR(64) Nein - Feld plan_hash
idempotency_key VARCHAR(128) Nein - Feld idempotency_key
document_id UUID Nein FK ➔ documents.id Feld document_id
notes TEXT Nein - Feld notes
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
HrWorkplaceDescriptions hr_workplace_descriptions RLS Aktiv
22 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle hr_workplace_descriptions

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
code VARCHAR(64) Ja * - Feld code
title VARCHAR(255) Ja * - Feld title
summary TEXT Nein - Feld summary
duties JSONB Ja * - Feld duties
role_code VARCHAR(64) Nein - Feld role_code
org_unit_name VARCHAR(255) Nein - Feld org_unit_name
headcount_planned INTEGER Nein - Feld headcount_planned
status VARCHAR(16) Ja * - Feld status
source VARCHAR(64) Ja * - Feld source
plan_hash VARCHAR(64) Nein - Feld plan_hash
idempotency_key VARCHAR(128) Nein - Feld idempotency_key
document_id UUID Nein FK ➔ documents.id Feld document_id
notes TEXT Nein - Feld notes
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata

🔌 Izstādes punkti (UI un API)

Art Metodes Galvenā vieta / ceļš Titel & Zweck Attaisnošana
⚡ REST API GET /api/v1/directory/colleagues
list_colleagues
Semantic binding: inventory_only; mutation=False
employees
⚡ REST API GET /api/v1/employees
list_employees
Semantic binding: inventory_only; mutation=False
employees
⚡ REST API GET /api/v1/employees/stats
employee_stats
Semantic binding: inventory_only; mutation=False
employees
⚡ REST API GET /api/v1/employees/{employee_id}
get_employee
Semantic binding: inventory_only; mutation=False
employees
⚡ REST API GET /api/v1/employees/{employee_id}/permissions
get_employee_permissions
Semantic binding: inventory_only; mutation=False
employees
⚡ REST API GET /employees
employees_page
Semantic binding: inventory_only; mutation=False
employees
⚡ REST API GET /employees/new
employee_create_page
Semantic binding: inventory_only; mutation=False
employees
⚡ REST API GET /employees/{employee_id}
employee_edit_page
Semantic binding: inventory_only; mutation=False
employees
⚡ REST API PATCH /api/v1/employees/{employee_id}
update_employee
Semantic binding: operator_surface; mutation=True
employees
⚡ REST API POST /api/v1/employees
create_employee
Semantic binding: operator_surface; mutation=True
employees
⚡ REST API POST /api/v1/employees/{employee_id}/deactivate
deactivate_employee
Semantic binding: operator_surface; mutation=True
employees

🛡️ Regulators & atbilstība

Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:

  • ArbZG § 3
  • BUrlG § 9
  • ESF
  • N/A
  • RLS Mandantinsulacija
Saistītie moduli:
➔ identity ➔ tasks ➔ contracts