import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthModule } from '../../auth/auth.module';
import { CurrencyController } from './currency.controller';
import { CurrencyService } from './currency.service';
import { CurrencyRepository } from './repositories/currency.repository';
import { CurrencyEntity } from '../../entities/currency.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([CurrencyEntity]),
    AuthModule,
  ],
  controllers: [CurrencyController],
  providers: [CurrencyService, CurrencyRepository],
  exports: [CurrencyService, CurrencyRepository],
})
export class CurrencyModule {}
