import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { JobViewsService } from './job_views.service';
import { JobViewsController } from './job_views.controller';
import { JobViews } from './entities/job_views.entity';

import { JobPosts } from '../job_posts/entities/job_posts.entity';
import { ActivityLogsModule } from '../activity_logs/activity_logs.module';

@Module({
  imports: [TypeOrmModule.forFeature([JobViews, JobPosts]), ActivityLogsModule],
  controllers: [JobViewsController],
  providers: [JobViewsService],
  exports: [JobViewsService],
})
export class JobViewsModule {}
