import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CrawlerModule } from 'modules/crawler/crawler.module';
import { BreachCheckWebsiteBaseline } from './entities/breach-check-website-baseline.entity';
import { BreachCheckWebsites } from './entities/breach-check-website.entity';
import { BreachCheckResult } from './entities/breach-check-result.entity';
import { BreachCheckOrganization } from './entities/breach-check-organization.entity';
import { BreachCheckAlertController } from './breach-check.controller';
import { BreachCheckAlertService } from './breach-check.service';
import { SettingsModule } from 'modules/settings/setting.module';

@Module({
  imports: [TypeOrmModule.forFeature([BreachCheckWebsiteBaseline, BreachCheckWebsites, BreachCheckResult, BreachCheckOrganization]), CrawlerModule, SettingsModule],
  controllers: [BreachCheckAlertController],
  providers: [BreachCheckAlertService],
})
export class BreachCheckAlertModule {}
