import { Module } from "@nestjs/common"; import { TypeOrmModule } from "@nestjs/typeorm"; import { AppointmentsService } from "./appointments.service"; import { AppointmentsController } from "./appointments.controller"; import { Appointment } from "../../entities/appointment.entity"; import { AppointmentParticipant } from "../../entities/appointment-participant.entity"; import { Group } from "../../entities/group.entity"; import { GroupMember } from "../../entities/group-member.entity"; import { Game } from "../../entities/game.entity"; import { User } from "../../entities/user.entity"; @Module({ imports: [ TypeOrmModule.forFeature([ Appointment, AppointmentParticipant, Group, GroupMember, Game, User, ]), ], controllers: [AppointmentsController], providers: [AppointmentsService], exports: [AppointmentsService], }) export class AppointmentsModule {}