15 lines
615 B
TypeScript
15 lines
615 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { EventoParticipante } from 'src/evento-participante/evento-participante/eventoParticipante.entity';
|
|
import { Participante } from 'src/participante/participante.entity';
|
|
import { Evento } from './evento.entity';
|
|
import { EventosController } from './eventos.controller';
|
|
import { EventosService } from './eventos.service';
|
|
|
|
@Module({
|
|
imports:[TypeOrmModule.forFeature([Evento, EventoParticipante, Participante])],
|
|
controllers:[EventosController],
|
|
providers:[EventosService]
|
|
})
|
|
export class EventosModule {}
|