2023-02-16 16:49:52 -06:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
2023-02-27 14:01:13 -06:00
|
|
|
import { EventoParticipante } from 'src/evento-participante/evento-participante/eventoParticipante.entity';
|
2023-03-14 15:26:00 -06:00
|
|
|
import { Participante } from 'src/participante/participante.entity';
|
2023-02-16 16:49:52 -06:00
|
|
|
import { Evento } from './evento.entity';
|
|
|
|
|
import { EventosController } from './eventos.controller';
|
|
|
|
|
import { EventosService } from './eventos.service';
|
|
|
|
|
|
|
|
|
|
@Module({
|
2023-03-14 15:26:00 -06:00
|
|
|
imports:[TypeOrmModule.forFeature([Evento, EventoParticipante, Participante])],
|
2023-02-16 16:49:52 -06:00
|
|
|
controllers:[EventosController],
|
|
|
|
|
providers:[EventosService]
|
|
|
|
|
})
|
|
|
|
|
export class EventosModule {}
|