import { Module } from '@nestjs/common';
import { EmployeesController } from './employees.controller';
import { EmployeesService } from './employees.service';
import { CommonModule } from '../../../common/common.module';

/**
 * Employees Module
 *
 * Handles employee data management including:
 * - CRUD operations for employee records
 * - Encryption of sensitive data (salary, bank account)
 * - Organizational chart generation
 * - Integration with time tracking
 *
 * Security considerations:
 * - Sensitive fields (salary, bankAccount) are encrypted at rest
 * - Access to sensitive data requires elevated permissions
 * - All modifications are audit logged
 */
@Module({
  imports: [CommonModule],
  controllers: [EmployeesController],
  providers: [EmployeesService],
  exports: [EmployeesService],
})
export class EmployeesModule {}
