import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AttendanceDevice, Classroom } from '../entities';
import { OperationLogsModule } from '../operation-logs/operation-logs.module';
import { AttendanceDevicesController } from './attendance-devices.controller';
import { AttendanceDevicesService } from './attendance-devices.service';

@Module({
  imports: [TypeOrmModule.forFeature([AttendanceDevice, Classroom]), OperationLogsModule],
  controllers: [AttendanceDevicesController],
  providers: [AttendanceDevicesService],
  exports: [AttendanceDevicesService],
})
export class AttendanceDevicesModule {}
