import { Module } from '@nestjs/common';
import { MerchanttypeService } from './merchanttype.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MerchantType } from './merchanttype.entity';
import { MerchantController } from '../merchant.controller';
import { MerchanttypeController } from './merchanttype.controller';
import { ConfigModule } from '@nestjs/config';

@Module({
  imports: [TypeOrmModule.forFeature([MerchantType]), ConfigModule.forRoot()],
  providers: [MerchanttypeService],
  controllers: [MerchanttypeController],
  exports: [MerchanttypeService],
})
export class MerchanttypeModule {}
