import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { JobAlert } from './entities/job_alerts.entity';
import { JobAlertsService } from './job_alerts.service';
import { JobAlertsController } from './job_alerts.controller';
import { JobMatchesModule } from '../job_matches/job_matches.module';

@Module({
  imports: [TypeOrmModule.forFeature([JobAlert]), JobMatchesModule],
  controllers: [JobAlertsController],
  providers: [JobAlertsService],
  exports: [TypeOrmModule, JobAlertsService],
})
export class JobAlertsModule {}
