import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ProfileUnlockService } from './profile_unlock.service';
import { ProfileUnlockController } from './profile_unlock.controller';
import { UnlockedProfile } from './entities/unlocked_profile.entity';
import { CvDownloadLog } from './entities/cv_download.entity';
import { WalletModule } from '../wallet/wallet.module';
import { ActivityLogsModule } from '../activity_logs/activity_logs.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([UnlockedProfile, CvDownloadLog]),
    WalletModule,
    ActivityLogsModule,
  ],
  controllers: [ProfileUnlockController],
  providers: [ProfileUnlockService],
  exports: [ProfileUnlockService],
})
export class ProfileUnlockModule {}
