import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { FuelController } from './fuel.controller';
import { FuelService } from './fuel.service';
import { FuelRepository } from './fuel.repository';
import { FuelPurchase } from './entities/fuel-purchase.entity';
import { FuelConsumption } from './entities/fuel-consumption.entity';

@Module({
  imports: [TypeOrmModule.forFeature([FuelPurchase, FuelConsumption])],
  controllers: [FuelController],
  providers: [FuelService, FuelRepository],
  exports: [FuelService],
})
export class FuelModule {}
