/**
 * GDPR Module
 *
 * Provides GDPR compliance features (data export, deletion, consent)
 */

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { GDPRController } from '../controllers/gdpr.controller';
import { GDPRService } from '../services/gdpr.service';
import { UserOrmEntity } from '../../infrastructure/persistence/typeorm/entities/user.orm-entity';
import { BookingOrmEntity } from '../../infrastructure/persistence/typeorm/entities/booking.orm-entity';
import { AuditLogOrmEntity } from '../../infrastructure/persistence/typeorm/entities/audit-log.orm-entity';
import { NotificationOrmEntity } from '../../infrastructure/persistence/typeorm/entities/notification.orm-entity';
import { CookieConsentOrmEntity } from '../../infrastructure/persistence/typeorm/entities/cookie-consent.orm-entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      UserOrmEntity,
      BookingOrmEntity,
      AuditLogOrmEntity,
      NotificationOrmEntity,
      CookieConsentOrmEntity,
    ]),
  ],
  controllers: [GDPRController],
  providers: [GDPRService],
  exports: [GDPRService],
})
export class GDPRModule {}
