import { Module } from '@nestjs/common';
import { ReportExportController } from './report-export.controller';
import { ReportExportService } from './report-export.service';
import { ConfigModule } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ExportReportHistoryModel } from '../shared/models/export-report-history.model';
import { CONNECTION_NAME } from 'src/core/strings/constants/base.constants';

@Module({
  imports: [
    TypeOrmModule.forFeature(
      [ExportReportHistoryModel],
      CONNECTION_NAME.DEFAULT,
    ),
  ],
  controllers: [ReportExportController],
  providers: [ReportExportService],
})
export class ReportExportModule {}
