import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MktActivity } from '@/entities/mkt-activity.entity';
import { MktInvitation } from '@/entities/mkt-invitation.entity';
import { MktCashback } from '@/entities/mkt-cashback.entity';
import { MktUserInviteStats } from '@/entities/mkt-user-invite-stats.entity';
import { MktInviteWithdrawal } from '@/entities/mkt-invite-withdrawal.entity';
import { ActivityService } from './activity.service';
import { AdminActivityController } from './activity.controller';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      MktActivity,
      MktInvitation,
      MktCashback,
      MktUserInviteStats,
      MktInviteWithdrawal,
    ]),
  ],
  controllers: [AdminActivityController],
  providers: [ActivityService],
  exports: [ActivityService],
})
export class AdminActivityModule {}
