mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 00:38:11 +00:00
16 lines
597 B
TypeScript
16 lines
597 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { LocomotivesController } from './locomotives.controller';
|
|
import { Locomotive } from './entities/locomotive.entity';
|
|
import { LocomotivesRepository } from './locomotives.repository';
|
|
import { LocomotivesService } from './locomotives.service';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Locomotive])],
|
|
controllers: [LocomotivesController],
|
|
providers: [LocomotivesRepository, LocomotivesService],
|
|
exports: [LocomotivesRepository, LocomotivesService],
|
|
})
|
|
export class LocomotivesModule {}
|