import { Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { CareerAdviceController } from './career-advice.controller'
import { CareerAdviceService } from './career-advice.service'
import { HotPosition, HotPositionSchema } from '../positions/positions.schema'
import { AiModule } from '../ai/ai.module'

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: HotPosition.name, schema: HotPositionSchema },
    ]),
    AiModule,
  ],
  controllers: [CareerAdviceController],
  providers: [CareerAdviceService],
})
export class CareerAdviceModule {}
