import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Demanda } from './entities/demanda.entity';
import { ItemLinha } from './entities/item-linha.entity';
import { DemandasController } from './demandas.controller';
import { DemandasService } from './demandas.service';

@Module({
  imports: [TypeOrmModule.forFeature([Demanda, ItemLinha])],
  controllers: [DemandasController],
  providers: [DemandasService],
  exports: [DemandasService],
})
export class DemandasModule {}
