import { TypeOrmSharedModule } from '@app/typeorm';
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PaymentMethods } from './paymentmethods.entity';
import { StaticFileModule } from '@app/static-file';
import { PaymentmethodsService } from './paymentmethods.service';
import { PaymentmethodsController } from './paymentmethods.controller';

@Module({
  imports: [
    ConfigModule.forRoot(),
    TypeOrmSharedModule,
    TypeOrmModule.forFeature([PaymentMethods]),
    StaticFileModule,
  ],
  providers: [PaymentmethodsService],
  exports: [PaymentmethodsModule, PaymentmethodsService],
  controllers: [PaymentmethodsController],
})
export class PaymentmethodsModule {}
