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 {}
