backend/src/student/student.module.ts
2026-03-18 21:11:12 +05:30

15 lines
486 B
TypeScript

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 {}