import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PalmOilController } from './palm-oil.controller';
import { PalmOilService } from './palm-oil.service';
import { ScannerProvider } from './providers/scanner.provider';
import { History } from './entities/history.entity';

@Module({
  imports: [TypeOrmModule.forFeature([History])],
  controllers: [PalmOilController],
  providers: [PalmOilService, ScannerProvider],
  exports: [PalmOilService, ScannerProvider],
})
export class PalmOilModule {}
