File size: 644 Bytes
73746a8
 
 
 
 
 
f45e448
426f2a4
73746a8
 
426f2a4
73746a8
 
 
 
8268e91
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CoursesService } from './courses.service';
import { CoursesController } from './courses.controller';
import { Course } from '../entities/course.entity';
import { UserCourse } from '../entities/user-course.entity';
import { UserStar } from '../entities/user-star.entity';
import { Comment } from '../entities/comment.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Course, UserCourse, UserStar, Comment])],
  providers: [CoursesService],
  controllers: [CoursesController],
  exports: [CoursesService],
})
export class CoursesModule {}