import { Module } from '@nestjs/common';
import { MerchantcategoryService } from './merchantcategory.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ConfigModule } from '@nestjs/config';
import { MerchantCategory } from './merchantcategory.entity';
import { MerchantcategoryController } from './merchantcategory.controller';

@Module({
  imports: [
    TypeOrmModule.forFeature([MerchantCategory]),
    ConfigModule.forRoot(),
  ],

  controllers: [MerchantcategoryController],

  providers: [MerchantcategoryService],
})
export class MerchantcategoryModule {}
