import { TypeOrmSharedModule } from '@app/typeorm';
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MerchantLog } from './merchantlog.entity';
import { StaticFileModule } from '@app/static-file';
import { MerchantlogController } from './merchantlog.controller';
import { MerchantlogService } from './merchantlog.service';

@Module({
  imports: [
    ConfigModule.forRoot(),
    TypeOrmSharedModule,
    TypeOrmModule.forFeature([MerchantLog]),
    StaticFileModule,
  ],
  controllers: [MerchantlogController],
  providers: [MerchantlogService],
})
export class MerchantlogModule {}
