import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { Student } from './student.entity'; import { EntityNotes } from '../entity-notes/entity-notes.entity'; import { StudentController } from './student.controller'; import { StudentService } from './student.service'; @Module({ imports: [TypeOrmModule.forFeature([Student, EntityNotes])], controllers: [StudentController], providers: [StudentService], }) export class StudentModule {}