import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AutoDoorsController } from './autodoors.controller';
import { AutoDoorsService } from './autodoors.service';
import { AutoDoorsConfig } from '../../entities/autodoors-config.entity';
import { NatsService } from '../../services/nats.service';

@Module({
  imports: [TypeOrmModule.forFeature([AutoDoorsConfig])],
  controllers: [AutoDoorsController],
  providers: [AutoDoorsService, NatsService],
  exports: [AutoDoorsService],
})
export class AutoDoorsModule {}
