import { Module } from '@nestjs/common';
import { ScheduleModule } from '@nestjs/schedule';
import {
  SchoolNotificationController,
  TeacherNotificationController,
  ParentNotificationController,
} from './notification.controller';
import { NotificationService } from './notification.service';
import { ScheduleNotificationService } from './schedule-notification.service';

@Module({
  imports: [ScheduleModule.forRoot()],
  controllers: [
    SchoolNotificationController,
    TeacherNotificationController,
    ParentNotificationController,
  ],
  providers: [NotificationService, ScheduleNotificationService],
  exports: [NotificationService, ScheduleNotificationService],
})
export class NotificationModule {}
