import { Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { DailyQuestionController } from './daily-question.controller'
import { DailyQuestion, DailyQuestionSchema } from '../schemas/daily-question.schema'

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: DailyQuestion.name, schema: DailyQuestionSchema },
    ]),
  ],
  controllers: [DailyQuestionController],
})
export class DailyQuestionModule {}