import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { NotificationEvent } from '../../modules/notifications/entities/notification-event.entity';
import { WhatsappTemplate } from '../../modules/notifications/entities/whatsapp-template.entity';
import { MobileNotificationsController } from './mobile-notifications.controller';
import { MobileNotificationsService } from './mobile-notifications.service';

@Module({
  imports: [
    TypeOrmModule.forFeature([NotificationEvent, WhatsappTemplate]),
  ],
  controllers: [MobileNotificationsController],
  providers: [MobileNotificationsService],
  exports: [MobileNotificationsService],
})
export class MobileNotificationsModule {}
