mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 06:40:57 +00:00
16 lines
619 B
TypeScript
16 lines
619 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Wagon } from './entities/wagon.entity';
|
|
import { Train } from '../trains/entities/train.entity';
|
|
import { Yard } from '../rule-engine/entities/yard.entity';
|
|
import { WagonsController, TrainWagonsReorderController } from './wagons.controller';
|
|
import { WagonsService } from './wagons.service';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Wagon, Train, Yard])],
|
|
controllers: [WagonsController, TrainWagonsReorderController],
|
|
providers: [WagonsService],
|
|
exports: [WagonsService],
|
|
})
|
|
export class WagonsModule {}
|