import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AssociatesController } from './associates.controller';
import { AssociatesService } from './associates.service';
import { Associates } from './entities/associates.entity';
import { UserEntity } from '../user/entities/user.entity';
import { SkillsModule } from '../skills/skills.module';
import { TagsModule } from '../tags/tags.module';
import { JobsPostTagModule } from '../jobs_post_tag/jobs_post_tag.module';
import { WalletModule } from '../wallet/wallet.module';
import { EmailModule } from '../email/email.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Associates, UserEntity]),
    SkillsModule,
    TagsModule,
    JobsPostTagModule,
    WalletModule,
    EmailModule,
  ],
  controllers: [AssociatesController],
  providers: [AssociatesService],
  exports: [AssociatesService],
})
export class AssociatesModule {}
