2026-01-28 13:03:28 +08:00
|
|
|
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";
|
2026-01-28 10:42:06 +08:00
|
|
|
|
|
|
|
|
@Module({
|
|
|
|
|
imports: [
|
|
|
|
|
TypeOrmModule.forFeature([
|
|
|
|
|
Appointment,
|
|
|
|
|
AppointmentParticipant,
|
|
|
|
|
Group,
|
|
|
|
|
GroupMember,
|
|
|
|
|
Game,
|
|
|
|
|
User,
|
|
|
|
|
]),
|
|
|
|
|
],
|
|
|
|
|
controllers: [AppointmentsController],
|
|
|
|
|
providers: [AppointmentsService],
|
|
|
|
|
exports: [AppointmentsService],
|
|
|
|
|
})
|
|
|
|
|
export class AppointmentsModule {}
|