import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Companies } from './entities/companies.entity';
import { CompaniesService } from './companies.service';
import { CompaniesController } from './companies.controller';
import { JobPosts } from '../job_posts/entities/job_posts.entity';
import { UserEntity } from '../user/entities/user.entity';
import { EmailModule } from '../email/email.module';

@Module({
  imports: [TypeOrmModule.forFeature([Companies, JobPosts, UserEntity]), EmailModule],
  controllers: [CompaniesController],
  providers: [CompaniesService],
  exports: [CompaniesService],
})
export class CompaniesModule {}
