mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 04:50:54 +00:00
25 lines
979 B
TypeScript
25 lines
979 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { TrainScheduleBooking } from './entities/train-schedule-booking.entity';
|
|
import { TrainSchedule } from './entities/train-schedule.entity';
|
|
import { WagonBookingAllocation } from './entities/wagon-booking-allocation.entity';
|
|
import { TrainScheduleBookingsRepository } from './train-schedule-bookings.repository';
|
|
import { TrainSchedulesRepository } from './train-schedules.repository';
|
|
import { WagonBookingAllocationsRepository } from './wagon-booking-allocations.repository';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([TrainSchedule, TrainScheduleBooking, WagonBookingAllocation])],
|
|
providers: [
|
|
TrainSchedulesRepository,
|
|
TrainScheduleBookingsRepository,
|
|
WagonBookingAllocationsRepository,
|
|
],
|
|
exports: [
|
|
TrainSchedulesRepository,
|
|
TrainScheduleBookingsRepository,
|
|
WagonBookingAllocationsRepository,
|
|
],
|
|
})
|
|
export class TrainSchedulesModule {}
|