14 lines
489 B
TypeScript
14 lines
489 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { ParticipanteService } from './participante.service';
|
|
import { ParticipanteController } from './participante.controller';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Participante } from './participante.entity';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Participante])],
|
|
controllers: [ParticipanteController],
|
|
providers: [ParticipanteService],
|
|
exports: [ParticipanteService],
|
|
})
|
|
export class ParticipanteModule {}
|