import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { typeOrmConfig } from './config/typeorm.config';

import { AuthModule } from './auth/auth.module';
import { FileUploadModule } from './file-upload/file-upload.module';
import { ScheduleModule } from '@nestjs/schedule';
import { TenderDetailsModule } from './tables/tender-master/tender-details.module';
import { FormOfContractModule } from './tables/form-of-contract/form-of-contract.module';
import { PaymentModeModule } from './tables/payment-mode/payment-mode.module';
import { TenderTypeModule } from './tables/tender-type/tender-type.module';
import { ProductCategoryModule } from './tables/product-category/product-category.module';
import { TenderCategoryModule } from './tables/tender-category/tender-category.module';
import { EmdFeeTypeModule } from './tables/emd-fee-type/emd-fee-type.module';
import { TenderModule } from './transactions/tender/tender.module';
import { TenderDocModule } from './tables/tender-documents/tender-doc.module';
import { DocumentTypeModule } from './tables/document-type/document-type.module';




@Module({
  imports: [
    ScheduleModule.forRoot(),
    TypeOrmModule.forRoot(typeOrmConfig),
    FileUploadModule,
    AuthModule,
    TenderDetailsModule,
    FormOfContractModule,
    PaymentModeModule,
    TenderTypeModule,
    ProductCategoryModule,
    TenderCategoryModule,
    EmdFeeTypeModule,
    TenderModule,
    TenderDocModule,
    DocumentTypeModule,
    
   
  ],
})
export class AppModule { }
