14 lines
460 B
TypeScript
14 lines
460 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { ParticipantService } from './participant.service';
|
|
import { ParticipantController } from './participant.controller';
|
|
import { Participant } from './entity/participant.entity';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([Participant]),
|
|
],
|
|
controllers: [ParticipantController],
|
|
providers: [ParticipantService],
|
|
})
|
|
export class ParticipantModule {} |