import { Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { ResumeController } from './resume.controller'
import { ResumeService } from './resume.service'
import { ResumePdfService } from './resume-pdf.service'
import { Resume, ResumeSchema } from './resume.schema'
import { UserModule } from '../user/user.module'

@Module({
  imports: [
    MongooseModule.forFeature([{ name: Resume.name, schema: ResumeSchema }]),
    UserModule,
  ],
  controllers: [ResumeController],
  providers: [ResumeService, ResumePdfService],
  exports: [ResumeService],
})
export class ResumeModule {}
