import { Module } from '@nestjs/common';
import { EmployeesModule } from './employees/employees.module';
import { AbsencesModule } from './absences/absences.module';
import { TimeTrackingModule } from './time-tracking/time-tracking.module';

/**
 * HR (Human Resources) Module
 *
 * Aggregates all HR-related sub-modules:
 * - EmployeesModule: Employee data management, org chart, sensitive data handling
 * - AbsencesModule: Absence/vacation management with approval workflow
 * - TimeTrackingModule: Clock in/out, breaks, overtime, monthly summaries
 *
 * Features:
 * - Encrypted sensitive employee data (salary, bank account)
 * - German labor law compliant break calculations
 * - Overtime tracking and monthly summaries
 * - Audit trail for all HR data changes
 *
 * API Routes:
 * - /hr/employees/* - Employee management
 * - /hr/absences/* - Absence management
 * - /hr/time/* - Time tracking
 */
@Module({
  imports: [EmployeesModule, AbsencesModule, TimeTrackingModule],
  exports: [EmployeesModule, AbsencesModule, TimeTrackingModule],
})
export class HrModule {}
