import { TypeOrmSharedModule } from '@app/typeorm';
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CustomerSavings } from './customersavings.entity';
import { StaticFileModule } from '@app/static-file';
import { CustomersavingsService } from './customersavings.service';
import { CustomersavingsController } from './customersavings.controller';

@Module({
  imports: [
    ConfigModule.forRoot(),
    TypeOrmSharedModule,
    TypeOrmModule.forFeature([CustomerSavings]),
    StaticFileModule,
  ],
  providers:[CustomersavingsService],
  exports:[CustomersavingsModule,CustomersavingsService],
  controllers:[CustomersavingsController]
})
export class CustomersavingsModule {}
