import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { DevicesEntity } from "src/entities/Devices.entity";
import { DeviceAssignmentsEntity } from "src/entities/DeviceAssignments.entity";
import { UserEntity } from "src/entities/User.entity";
import { DeviceAssignmentsController } from "./device-assignments.controller";
import { DeviceAssignmentsService } from "./device-assignments.service";

@Module({
  imports: [
    TypeOrmModule.forFeature([
      DeviceAssignmentsEntity,
      DevicesEntity,
      UserEntity,
    ]),
  ],
  controllers: [DeviceAssignmentsController],
  providers: [DeviceAssignmentsService],
})
export class DeviceAssignmentsModule {}
