import { Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { AnalyzeController } from './analyze.controller'
import { AnalyzeService } from './analyze.service'
import { UserModule } from '../user/user.module'
import { ResumeModule } from '../resume/resume.module'
import { ProgressModule } from '../progress/progress.module'
import { Progress, ProgressSchema } from '../schemas/progress.schema'

@Module({
  imports: [
    UserModule,
    ResumeModule,
    ProgressModule,
    MongooseModule.forFeature([{ name: Progress.name, schema: ProgressSchema }]),
  ],
  controllers: [AnalyzeController],
  providers: [AnalyzeService],
})
export class AnalyzeModule {}
