import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AlertaConfig } from './entities/alerta-config.entity';
import { Alerta } from '../dashboard/entities/alerta.entity';
import { AlertasController } from './alertas.controller';
import { AlertasService } from './alertas.service';

@Module({
  imports: [TypeOrmModule.forFeature([AlertaConfig, Alerta])],
  controllers: [AlertasController],
  providers: [AlertasService],
  exports: [AlertasService],
})
export class AlertasModule {}
