import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { PdfMakeManager } from './domain/managers/pdf-make.manager';
import { TransactionDataService } from 'src/modules/transaction/transaction/data/services/transaction-data.service';
import { PaymentMethodDataService } from 'src/modules/transaction/payment-method/data/services/payment-method-data.service';
import { TransactionModel } from 'src/modules/transaction/transaction/data/models/transaction.model';
import { TransactionItemModel } from 'src/modules/transaction/transaction/data/models/transaction-item.model';
import { PaymentMethodModel } from 'src/modules/transaction/payment-method/data/models/payment-method.model';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CONNECTION_NAME } from 'src/core/strings/constants/base.constants';
import { CqrsModule } from '@nestjs/cqrs';
import { TransactionTaxModel } from 'src/modules/transaction/transaction/data/models/transaction-tax.model';

@Module({
  imports: [
    ConfigModule.forRoot(),
    TypeOrmModule.forFeature([TransactionModel], CONNECTION_NAME.DEFAULT),
    CqrsModule,
  ],
  controllers: [],
  providers: [PdfMakeManager],
})
export class ExportModule {}
