Files
cedetec_api_nest/src/eventos/eventos.module.ts
T

15 lines
615 B
TypeScript
Raw Normal View History

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
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';
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])],
controllers:[EventosController],
providers:[EventosService]
})
export class EventosModule {}