import { Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { DailyQuestionPushService } from './daily-question-push.service'
import { WechatTokenService } from './wechat-token.service'
import { VipExpiryService } from './vip-expiry.service'
import { GravityTopUpService } from './gravity-top-up.service'
import { DailyQuestion, DailyQuestionSchema } from '../schemas/daily-question.schema'
import { User, UserSchema } from '../user/user.schema'

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: DailyQuestion.name, schema: DailyQuestionSchema },
      { name: User.name, schema: UserSchema },
    ]),
  ],
  providers: [WechatTokenService, DailyQuestionPushService, VipExpiryService, GravityTopUpService],
})
export class ScheduleModule {}
