初始化游戏小组管理系统后端项目
- 基于 NestJS + TypeScript + MySQL + Redis 架构 - 完整的模块化设计(认证、用户、小组、游戏、预约等) - JWT 认证和 RBAC 权限控制系统 - Docker 容器化部署支持 - 添加 CLAUDE.md 项目开发指南 - 配置 .gitignore 忽略文件 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
27
src/modules/appointments/appointments.module.ts
Normal file
27
src/modules/appointments/appointments.module.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
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 {}
|
||||
Reference in New Issue
Block a user