import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { FilesModule } from '../files/files.module';
import { CompaniesController } from './companies.controller';
import { CompaniesService } from './companies.service';
import { CompaniesRepository } from './companies.repository';
import { ExternalProfileRepository } from './external-profile.repository';
import { FFClientRepository } from './ff-client.repository';
import { Company } from './entities/company.entity';
import { ExternalProfile } from './entities/external-profile.entity';
import { FFClient } from './entities/ff-client.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Company, ExternalProfile, FFClient]), FilesModule],
  controllers: [CompaniesController],
  providers: [CompaniesService, CompaniesRepository, ExternalProfileRepository, FFClientRepository],
  exports: [CompaniesService],
})
export class CompaniesModule {}
