mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 21:20:57 +00:00
17 lines
816 B
TypeScript
17 lines
816 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { InterchangeDocumentItem } from './entities/interchange-document-item.entity';
|
|
import { InterchangeDocument } from './entities/interchange-document.entity';
|
|
import { InterchangeDocumentsController } from './interchange-documents.controller';
|
|
import { InterchangeDocumentsRepository } from './interchange-documents.repository';
|
|
import { InterchangeDocumentsService } from './interchange-documents.service';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([InterchangeDocument, InterchangeDocumentItem])],
|
|
controllers: [InterchangeDocumentsController],
|
|
providers: [InterchangeDocumentsRepository, InterchangeDocumentsService],
|
|
exports: [InterchangeDocumentsService],
|
|
})
|
|
export class InterchangeDocumentsModule {}
|