import { Module } from '@nestjs/common';
import { OnlineCourseService } from './service/online-course.service';
import { OnlineCourseController } from './controller/course-manage.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CourseList } from './entities/course-manage/course-list.entity';
import { CourseClassify } from './entities/course-manage/course-classify.entity';
import { JwtModule } from '@nestjs/jwt';
import { CourseSectionCourseware } from './entities/course-manage/course-courseware.entity';
import { courseSectionContent } from './entities/course-manage/course-section-content.entity';
import { courseEvaluate } from './entities/course-manage/course-evaluate.entity';
import { CourseMyController } from './controller/course-my.controller';
import { myCourseService } from './service/my-course.service';
import { CourseStudyCourseware } from './entities/course-my/course-study-courseware.entity';
import { CourseStudyDiscussion } from './entities/course-my/course-study-discussion.entity';
import { CourseStudyEvaluate } from './entities/course-my/course-study-evaluate.entity';
import { CourseStudyExercise } from './entities/course-my/course-study-exercise.entity';
import { CourseStudyRecord } from './entities/course-my/course-study-record.entity';
import { User } from 'src/system/entities/user.entity';
import { CourseNotes } from './entities/course-notes/course-notes.entity';
import { CourseNotesController } from './controller/course-notes.controller';
import { CourseNotesService } from './service/course-notes.service';
import { OnlineIssues } from './entities/online-issues/online-issues.entity';
import { OnlineIssuesAnswer } from './entities/online-issues/online-answer.entity';
import { OnlineAnswerController } from './controller/online-answer.controller';
import { OnlineIssuesService } from './service/online-issues.service';
import { TeacherStudent } from 'src/system/entities/teacher-student.entity';
import { QuestionsForCourse } from './entities/course-manage/course-questions.entity';
import { Question } from 'src/assessment-evaluation/entities/entities-question-manager/question.entity';
import { CourseStudyDisKudos } from './entities/course-my/course-study-discussion-kudos.entity';
@Module({
  imports: [
    TypeOrmModule.forFeature([
      CourseList,
      CourseClassify,
      CourseSectionCourseware,
      courseSectionContent,
      courseEvaluate,
      CourseStudyCourseware,
      CourseStudyDiscussion,
      CourseStudyEvaluate,
      CourseStudyExercise,
      CourseStudyRecord,
      TeacherStudent,
      User,
      CourseNotes,
      OnlineIssues,
      OnlineIssuesAnswer,
      QuestionsForCourse,
      Question,
      CourseStudyDisKudos,
    ]),
  ],
  controllers: [
    OnlineCourseController,
    CourseMyController,
    CourseNotesController,
    OnlineAnswerController,
  ],
  providers: [
    OnlineCourseService,
    myCourseService,
    CourseNotesService,
    OnlineIssuesService,
  ],
})
export class OnlineCourseModule {}
