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

import { TruckType } from './entities/truck-type.entity';
import { TruckTypesController } from './truck-types.controller';
import { TruckTypesRepository } from './truck-types.repository';
import { TruckTypesService } from './truck-types.service';

@Module({
  imports: [TypeOrmModule.forFeature([TruckType])],
  controllers: [TruckTypesController],
  providers: [TruckTypesRepository, TruckTypesService],
  exports: [TruckTypesRepository, TruckTypesService],
})
export class TruckTypesModule {}
