mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 14:20:58 +00:00
16 lines
611 B
TypeScript
16 lines
611 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Cargo } from './entities/cargoes.entity';
|
|
import { Container } from '../container-management/entities/container.entity';
|
|
import { CargoType } from '../rule-engine/entities/cargo-type.entity';
|
|
import { CargoesController } from './cargoes.controller';
|
|
import { CargoesService } from './cargoes.service';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Cargo, Container, CargoType])],
|
|
controllers: [CargoesController],
|
|
providers: [CargoesService],
|
|
exports: [CargoesService],
|
|
})
|
|
export class CargoesModule {}
|