Form-Service/src/participantGroup/participantGroup.module.ts

14 lines
584 B
TypeScript

import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { ParticipantGroupService } from './participantGroup.service';
import { ParticipantGroupController } from './participantGroup.controller';
import { ParticipantGroup, ParticipantGroupSchema } from './entity/participantGroup.entity';
@Module({
imports: [
MongooseModule.forFeature([{ name: ParticipantGroup.name, schema: ParticipantGroupSchema }]),
],
controllers: [ParticipantGroupController],
providers: [ParticipantGroupService],
})
export class ParticipanGrouptModule {}