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

import { WagonType } from './entities/wagon-type.entity';
import { WagonTypesController } from './wagon-types.controller';
import { WagonTypesRepository } from './wagon-types.repository';
import { WagonTypesService } from './wagon-types.service';

@Module({
  imports: [TypeOrmModule.forFeature([WagonType])],
  controllers: [WagonTypesController],
  providers: [WagonTypesRepository, WagonTypesService],
  exports: [WagonTypesRepository, WagonTypesService],
})
export class WagonTypesModule {}
