import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Vendor } from './entities/vendor.entity';
import { AssetAcquisition } from './entities/asset-acquisition.entity';
import { AssetDisposal } from './entities/asset-disposal.entity';
import { ProcurementService } from './procurement.service';
import { ProcurementRepository } from './procurement.repository';
import { ProcurementController } from './procurement.controller';

@Module({
  imports: [TypeOrmModule.forFeature([Vendor, AssetAcquisition, AssetDisposal])],
  providers: [ProcurementService, ProcurementRepository],
  controllers: [ProcurementController],
  exports: [ProcurementService],
})
export class ProcurementModule {}
