import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { BreachCheckController } from './breach-check.controller';
import { BreachedPassword } from '../txt-import/entities/breached-password.entity';
import { BreachEmail,Email } from '../txt-import/entities/breached-email.entity';
import { BreachCheckService } from './breach-check.service';
import { BreachedRecordIdentifier } from './entities/identifier.entity';
import { BreachRecord } from './entities/breach-data.entity';

@Module({
  imports: [TypeOrmModule.forFeature([BreachedPassword, BreachEmail, Email,BreachedRecordIdentifier, BreachRecord])],
  controllers: [BreachCheckController],
  providers: [BreachCheckService],
})
export class BreachCheckModule {}
