14 lines
543 B
TypeScript
14 lines
543 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { MerchantsService } from './merchants.service';
|
|
import { MerchantsController } from './merchants.controller';
|
|
import { MerchantDataService } from './merchant-data.service';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Merchant } from './entities/merchant.entity';
|
|
|
|
@Module({
|
|
controllers: [MerchantsController],
|
|
providers: [MerchantsService, MerchantDataService],
|
|
imports: [TypeOrmModule.forFeature([Merchant])],
|
|
exports: [TypeOrmModule]
|
|
})
|
|
export class MerchantsModule { }
|