import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { DevicesEntity } from "src/entities/Devices.entity";
import { VendorsEntity } from "src/entities/Vendors.entity";
import { DevicesController } from "./devices.controller";
import { DevicesService } from "./devices.service";
import { FileService } from "src/services/file.service";

@Module({
  imports: [TypeOrmModule.forFeature([DevicesEntity, VendorsEntity])],
  controllers: [DevicesController],
  providers: [DevicesService, FileService],
  exports: [DevicesService, FileService],
})
export class DevicesModule {}
