import { MikroOrmModule } from "@mikro-orm/nestjs"; import { Module } from "@nestjs/common"; import { BusinessesModule } from "../businesses/businesses.module"; import { Industry } from "./entities/industry.entity"; import { IndustriesController } from "./industries.controller"; import { IndustriesService } from "./services/industries.service"; @Module({ imports: [MikroOrmModule.forFeature([Industry]), BusinessesModule], controllers: [IndustriesController], providers: [IndustriesService], exports: [IndustriesService], }) export class IndustriesModule {}