import { Module } from '@nestjs/common';
import { ReportController } from './report.controller';
import { ReportService } from './report.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ExportReportHistoryModel } from '../shared/models/export-report-history.model';
import { CONNECTION_NAME } from 'src/core/strings/constants/base.constants';
import { ReportBookmarkModel } from '../shared/models/report-bookmark.model';

@Module({
  imports: [
    TypeOrmModule.forFeature(
      [ExportReportHistoryModel, ReportBookmarkModel],
      CONNECTION_NAME.DEFAULT,
    ),
  ],
  controllers: [ReportController],
  providers: [ReportService],
})
export class ReportModule {}
