import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { NotificationsService } from './notifications.service';
import { NotificationsController } from './notifications.controller';
import { Activity, Child, Notification } from '../../database/entities';
import { AuditService } from '../../common/services/audit.service';
import { AuditLog } from '../../database/entities';

@Module({
  imports: [
    TypeOrmModule.forFeature([Activity, Child, Notification, AuditLog]),
  ],
  controllers: [NotificationsController],
  providers: [NotificationsService, AuditService],
  exports: [NotificationsService],
})
export class NotificationsModule {}
